Home
last modified time | relevance | path

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

/xnu-11417.121.6/bsd/netinet/
H A Dudp_usrreq.c1561 struct udpiphdr *ui; in udp_output()
1656 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
1890 M_PREPEND(m, sizeof(struct udpiphdr), M_DONTWAIT, 1); in udp_output()
1901 ui = mtod(m, struct udpiphdr *); in udp_output()
1948 ((struct ip *)ui)->ip_len = (uint16_t)(sizeof(struct udpiphdr) + len); in udp_output()
3022 if ((frame_data_offset + sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
3028 if ((sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
3062 sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
3076 bzero(data, sizeof(struct udpiphdr)); in udp_fill_keepalive_offload_frames()
3080 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.c1261 struct udpiphdr *__single ui; in ip_input_first_pass()
1263 if (m->m_len < sizeof(struct udpiphdr) && in ip_input_first_pass()
1264 (m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_first_pass()
1271 ui = mtod(m, struct udpiphdr *); in ip_input_first_pass()
1381 struct udpiphdr *__single ui; in ip_input_check_interface()
1383 if (m->m_len < sizeof(struct udpiphdr)) { in ip_input_check_interface()
1384 if ((m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_check_interface()
1395 ui = mtod(m, struct udpiphdr *); in ip_input_check_interface()
/xnu-11417.121.6/bsd/netinet6/
H A Dipsec.c5205 m->m_len = sizeof(struct udpiphdr) + 1; in ipsec_send_natt_keepalive()
5364 frame_data_len = sizeof(struct udpiphdr) + 1; in ipsec_fill_offload_frame()
5474 ip->ip_len = htons(sizeof(struct udpiphdr) + 1); in ipsec_fill_offload_frame()