File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -208,10 +208,13 @@ fn test_apple(target: &str) {
208
208
"mach/thread_policy.h" ,
209
209
"malloc/malloc.h" ,
210
210
"net/bpf.h" ,
211
+ "net/dlil.h" ,
211
212
"net/if.h" ,
212
213
"net/if_arp.h" ,
213
214
"net/if_dl.h" ,
214
215
"net/if_utun.h" ,
216
+ "net/if_var.h" ,
217
+ "net/ndrv.h" ,
215
218
"net/route.h" ,
216
219
"netdb.h" ,
217
220
"netinet/if_ether.h" ,
@@ -236,6 +239,7 @@ fn test_apple(target: &str) {
236
239
"stdlib.h" ,
237
240
"string.h" ,
238
241
"sysdir.h" ,
242
+ "sys/appleapiopts.h" ,
239
243
"sys/attr.h" ,
240
244
"sys/clonefile.h" ,
241
245
"sys/event.h" ,
Original file line number Diff line number Diff line change @@ -672,6 +672,13 @@ s! {
672
672
pub s_addr: :: in_addr_t,
673
673
}
674
674
675
+ // net/ndrv.h
676
+ pub struct sockaddr_ndrv {
677
+ pub snd_len: :: c_uchar,
678
+ pub snd_family: :: c_uchar,
679
+ pub snd_name: [ :: c_uchar; 16 ] // IFNAMSIZ from if.h
680
+ }
681
+
675
682
// sys/socket.h
676
683
677
684
pub struct sa_endpoints_t {
@@ -3466,6 +3473,7 @@ pub const pseudo_AF_RTIP: ::c_int = 22;
3466
3473
pub const AF_IPX : :: c_int = 23 ;
3467
3474
pub const AF_SIP : :: c_int = 24 ;
3468
3475
pub const pseudo_AF_PIP: :: c_int = 25 ;
3476
+ pub const AF_NDRV : :: c_int = 27 ;
3469
3477
pub const AF_ISDN : :: c_int = 28 ;
3470
3478
pub const AF_E164 : :: c_int = AF_ISDN ;
3471
3479
pub const pseudo_AF_KEY: :: c_int = 29 ;
@@ -3508,6 +3516,7 @@ pub const PF_SIP: ::c_int = AF_SIP;
3508
3516
pub const PF_IPX : :: c_int = AF_IPX ;
3509
3517
pub const PF_RTIP : :: c_int = pseudo_AF_RTIP;
3510
3518
pub const PF_PIP : :: c_int = pseudo_AF_PIP;
3519
+ pub const PF_NDRV : :: c_int = AF_NDRV ;
3511
3520
pub const PF_ISDN : :: c_int = AF_ISDN ;
3512
3521
pub const PF_KEY : :: c_int = pseudo_AF_KEY;
3513
3522
pub const PF_INET6 : :: c_int = AF_INET6 ;
You can’t perform that action at this time.
0 commit comments