Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/netinet/
H A Dudp_usrreq.c1478 struct udpiphdr *ui; in udp_output()
1572 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
1787 M_PREPEND(m, sizeof(struct udpiphdr), M_DONTWAIT, 1); in udp_output()
1797 ui = mtod(m, struct udpiphdr *); in udp_output()
1844 ((struct ip *)ui)->ip_len = (uint16_t)(sizeof(struct udpiphdr) + len); in udp_output()
2880 if ((frame_data_offset + sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2886 if ((sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2920 sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2934 bzero(data, sizeof(struct udpiphdr)); in udp_fill_keepalive_offload_frames()
2938 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.c1237 struct udpiphdr *ui; in ip_input_first_pass()
1239 if (m->m_len < sizeof(struct udpiphdr) && in ip_input_first_pass()
1240 (m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_first_pass()
1247 ui = mtod(m, struct udpiphdr *); in ip_input_first_pass()
1362 struct udpiphdr *ui; in ip_input_check_interface()
1364 if (m->m_len < sizeof(struct udpiphdr)) { in ip_input_check_interface()
1365 if ((m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_check_interface()
1376 ui = mtod(m, struct udpiphdr *); in ip_input_check_interface()
/xnu-8019.80.24/bsd/netinet6/
H A Dipsec.c4909 m->m_len = sizeof(struct udpiphdr) + 1; in ipsec_send_natt_keepalive()
5063 if (frame_data_offset + sizeof(struct udpiphdr) + 1 > in ipsec_fill_offload_frame()
5073 frame->length = (u_int8_t)(frame_data_offset + sizeof(struct udpiphdr) + 1); in ipsec_fill_offload_frame()
5093 ip->ip_len = htons(sizeof(struct udpiphdr) + 1); in ipsec_fill_offload_frame()