File tree Expand file tree Collapse file tree 3 files changed +22
-19
lines changed Expand file tree Collapse file tree 3 files changed +22
-19
lines changed Original file line number Diff line number Diff line change @@ -1137,6 +1137,7 @@ mknodat
1137
1137
mkostemp
1138
1138
mkostemps
1139
1139
mkstemps
1140
+ mmsghdr
1140
1141
mount_info
1141
1142
mrand48
1142
1143
msdosfs_args
@@ -1216,6 +1217,7 @@ readlinkat
1216
1217
reallocarray
1217
1218
reboot
1218
1219
recvmsg
1220
+ recvmmsg
1219
1221
regcomp
1220
1222
regerror
1221
1223
regex_t
@@ -1237,6 +1239,7 @@ sem_init
1237
1239
sem_open
1238
1240
sem_timedwait
1239
1241
sem_unlink
1242
+ sendmmsg
1240
1243
sendmsg
1241
1244
setdomainname
1242
1245
setgrent
Original file line number Diff line number Diff line change 92
92
pub piod_addr: * mut :: c_void,
93
93
pub piod_len: :: size_t,
94
94
}
95
+
96
+ pub struct mmsghdr {
97
+ pub msg_hdr: :: msghdr,
98
+ pub msg_len: :: c_uint,
99
+ }
95
100
}
96
101
97
102
pub const D_T_FMT : :: nl_item = 0 ;
@@ -848,6 +853,20 @@ extern "C" {
848
853
pub fn dirname ( path : * mut :: c_char ) -> * mut :: c_char ;
849
854
pub fn basename ( path : * mut :: c_char ) -> * mut :: c_char ;
850
855
pub fn getentropy ( buf : * mut :: c_void , buflen : :: size_t ) -> :: c_int ;
856
+
857
+ pub fn sendmmsg (
858
+ sockfd : :: c_int ,
859
+ mmsg : * mut :: mmsghdr ,
860
+ vlen : :: c_uint ,
861
+ flags : :: c_int ,
862
+ ) -> :: c_int ;
863
+ pub fn recvmmsg (
864
+ sockfd : :: c_int ,
865
+ mmsg : * mut :: mmsghdr ,
866
+ vlen : :: c_uint ,
867
+ flags : :: c_int ,
868
+ timeout : * mut :: timespec ,
869
+ ) -> :: c_int ;
851
870
}
852
871
853
872
cfg_if ! {
Original file line number Diff line number Diff line change @@ -401,11 +401,6 @@ s! {
401
401
pub sdl_data: [ :: c_char; 12 ] ,
402
402
}
403
403
404
- pub struct mmsghdr {
405
- pub msg_hdr: :: msghdr,
406
- pub msg_len: :: c_uint,
407
- }
408
-
409
404
pub struct __exit_status {
410
405
pub e_termination: u16 ,
411
406
pub e_exit: u16 ,
@@ -2781,20 +2776,6 @@ extern "C" {
2781
2776
2782
2777
pub fn kqueue1 ( flags : :: c_int ) -> :: c_int ;
2783
2778
2784
- pub fn sendmmsg (
2785
- sockfd : :: c_int ,
2786
- msgvec : * mut :: mmsghdr ,
2787
- vlen : :: c_uint ,
2788
- flags : :: c_int ,
2789
- ) -> :: c_int ;
2790
- pub fn recvmmsg (
2791
- sockfd : :: c_int ,
2792
- msgvec : * mut :: mmsghdr ,
2793
- vlen : :: c_uint ,
2794
- flags : :: c_int ,
2795
- timeout : * mut :: timespec ,
2796
- ) -> :: c_int ;
2797
-
2798
2779
pub fn _lwp_self ( ) -> lwpid_t ;
2799
2780
pub fn memmem (
2800
2781
haystack : * const :: c_void ,
You can’t perform that action at this time.
0 commit comments