File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2481,6 +2481,7 @@ fn test_linux(target: &str) {
24812481 true
24822482 }
24832483 "ipv6_mreq"
2484+ | "ip_mreq_source"
24842485 | "sockaddr_in6"
24852486 | "sockaddr_ll"
24862487 | "in_pktinfo"
Original file line number Diff line number Diff line change 2424 pub imr_interface: in_addr,
2525 }
2626
27+ pub struct ip_mreq_source {
28+ pub imr_multiaddr: in_addr,
29+ pub imr_interface: in_addr,
30+ pub imr_sourceaddr: in_addr,
31+ }
32+
2733 pub struct sockaddr {
2834 pub sa_family: sa_family_t,
2935 pub sa_data: [ :: c_char; 14 ] ,
@@ -810,6 +816,8 @@ pub const IP_RECVTOS: ::c_int = 13;
810816pub const IP_RECVERR : :: c_int = 11 ;
811817pub const IP_ADD_MEMBERSHIP : :: c_int = 35 ;
812818pub const IP_DROP_MEMBERSHIP : :: c_int = 36 ;
819+ pub const IP_ADD_SOURCE_MEMBERSHIP : :: c_int = 39 ;
820+ pub const IP_DROP_SOURCE_MEMBERSHIP : :: c_int = 40 ;
813821pub const IP_TRANSPARENT : :: c_int = 19 ;
814822pub const IPV6_UNICAST_HOPS : :: c_int = 16 ;
815823pub const IPV6_MULTICAST_IF : :: c_int = 17 ;
You can’t perform that action at this time.
0 commit comments