Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONIC PAC WPA Supplicant updates for Hostapd #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samitabh
Copy link

@samitabh samitabh commented Oct 3, 2023

No description provided.

@samitabh samitabh changed the title Added RADIUS attributes parser header SONIC PAC WPA Supplicant updates for Hostapd Oct 3, 2023

#define RADIUS_VALUE_LENGTH 253

#define RADIUS_ATTR_TYPE_USER_NAME 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file copy from somewhere or those are type should be an enum instead of defines

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And many others defines as enums

MKA_PEER_TIMEOUT
} clientStatus_t;

typedef enum radiusAttrFlags_s
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why there is _s suffix at the end ?


typedef struct in4_addr_s
{
unsigned int s_addr; /* 32 bit IPv4 address in network byte order */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use addr directly instead of 1 struct item ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants