socket: SIOCSIFADDR ioctl

This commit is contained in:
Matheus
2024-04-07 23:40:51 -03:00
parent dff16f2574
commit dbb5ff27fd
3 changed files with 33 additions and 0 deletions
+1
View File
@@ -130,6 +130,7 @@ typedef struct {
#define IFNAMSIZ 16
#define SIOCGIFHWADDR 0x8927
#define SIOCADDRT 0x890b
#define SIOCSIFADDR 0x8916
typedef struct {
char name[IFNAMSIZ];