Lines Matching defs:pmhdr
1548 let mut pmhdr: *mut cmsghdr = unsafe { CMSG_FIRSTHDR(p) };
1550 assert_ne!(pmhdr, ptr::null_mut());
1551 // Safe because we know that pmhdr is valid, and we initialized it with
1553 unsafe { cmsg.encode_into(pmhdr) };
1555 pmhdr = unsafe { CMSG_NXTHDR(p, pmhdr) };
2020 let mut pmhdr: *mut cmsghdr = unsafe { CMSG_FIRSTHDR(&mhdr as *const msghdr) };
2022 assert_ne!(pmhdr, ptr::null_mut());
2023 // Safe because we know that pmhdr is valid, and we initialized it with
2025 unsafe { cmsg.encode_into(pmhdr) };
2027 pmhdr = unsafe { CMSG_NXTHDR(&mhdr as *const msghdr, pmhdr) };