Home
last modified time | relevance | path

Searched refs:udpiphdr (Results 1 – 4 of 4) sorted by relevance

/xnu-10063.141.1/bsd/netinet/
H A Dudp_usrreq.c1525 struct udpiphdr *ui; in udp_output()
1619 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
1838 M_PREPEND(m, sizeof(struct udpiphdr), M_DONTWAIT, 1); in udp_output()
1848 ui = mtod(m, struct udpiphdr *); in udp_output()
1895 ((struct ip *)ui)->ip_len = (uint16_t)(sizeof(struct udpiphdr) + len); in udp_output()
2951 if ((frame_data_offset + sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2957 if ((sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2991 sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
3005 bzero(data, sizeof(struct udpiphdr)); in udp_fill_keepalive_offload_frames()
3009 m->m_len = sizeof(struct udpiphdr); in udp_fill_keepalive_offload_frames()
[all …]
H A Dudp_var.h74 struct udpiphdr { struct
H A Dip_input.c1242 struct udpiphdr *ui; in ip_input_first_pass()
1244 if (m->m_len < sizeof(struct udpiphdr) && in ip_input_first_pass()
1245 (m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_first_pass()
1252 ui = mtod(m, struct udpiphdr *); in ip_input_first_pass()
1367 struct udpiphdr *ui; in ip_input_check_interface()
1369 if (m->m_len < sizeof(struct udpiphdr)) { in ip_input_check_interface()
1370 if ((m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_check_interface()
1381 ui = mtod(m, struct udpiphdr *); in ip_input_check_interface()
/xnu-10063.141.1/bsd/netinet6/
H A Dipsec.c5224 m->m_len = sizeof(struct udpiphdr) + 1; in ipsec_send_natt_keepalive()
5378 if (frame_data_offset + sizeof(struct udpiphdr) + 1 > in ipsec_fill_offload_frame()
5388 frame->length = (u_int8_t)(frame_data_offset + sizeof(struct udpiphdr) + 1); in ipsec_fill_offload_frame()
5408 ip->ip_len = htons(sizeof(struct udpiphdr) + 1); in ipsec_fill_offload_frame()