Home
last modified time | relevance | path

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

/xnu-8020.101.4/bsd/netinet/ !
H A Dudp_usrreq.c1480 struct udpiphdr *ui; in udp_output()
1574 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
1789 M_PREPEND(m, sizeof(struct udpiphdr), M_DONTWAIT, 1); in udp_output()
1799 ui = mtod(m, struct udpiphdr *); in udp_output()
1846 ((struct ip *)ui)->ip_len = (uint16_t)(sizeof(struct udpiphdr) + len); in udp_output()
2882 if ((frame_data_offset + sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2888 if ((sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2922 sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2936 bzero(data, sizeof(struct udpiphdr)); in udp_fill_keepalive_offload_frames()
2940 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.c1235 struct udpiphdr *ui; in ip_input_first_pass()
1237 if (m->m_len < sizeof(struct udpiphdr) && in ip_input_first_pass()
1238 (m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_first_pass()
1245 ui = mtod(m, struct udpiphdr *); in ip_input_first_pass()
1360 struct udpiphdr *ui; in ip_input_check_interface()
1362 if (m->m_len < sizeof(struct udpiphdr)) { in ip_input_check_interface()
1363 if ((m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_check_interface()
1374 ui = mtod(m, struct udpiphdr *); in ip_input_check_interface()
/xnu-8020.101.4/bsd/netinet6/ !
H A Dipsec.c4912 m->m_len = sizeof(struct udpiphdr) + 1; in ipsec_send_natt_keepalive()
5066 if (frame_data_offset + sizeof(struct udpiphdr) + 1 > in ipsec_fill_offload_frame()
5076 frame->length = (u_int8_t)(frame_data_offset + sizeof(struct udpiphdr) + 1); in ipsec_fill_offload_frame()
5096 ip->ip_len = htons(sizeof(struct udpiphdr) + 1); in ipsec_fill_offload_frame()