Searched refs:udp_hdr (Results 1 – 1 of 1) sorted by relevance
197 struct udphdr udp_hdr, *udp_hdr_p; in skt_netif_ipv6_udp_frame_populate() local227 ip6_hdr.ip6_plen = htons(data_len + sizeof(udp_hdr)); in skt_netif_ipv6_udp_frame_populate()237 udp_hdr.uh_ulen = htons(data_len + sizeof(udp_hdr)); in skt_netif_ipv6_udp_frame_populate()238 udp_hdr.uh_sport = htons(src_port); in skt_netif_ipv6_udp_frame_populate()239 udp_hdr.uh_dport = htons(dst_port); in skt_netif_ipv6_udp_frame_populate()241 udp_hdr.uh_sum = in6_pseudo(src_ip, dst_ip, in skt_netif_ipv6_udp_frame_populate()242 htonl(ntohs(udp_hdr.uh_ulen) + ip6_hdr.ip6_nxt)); in skt_netif_ipv6_udp_frame_populate()243 bcopy(&udp_hdr, baddr, sizeof(udp_hdr)); in skt_netif_ipv6_udp_frame_populate()244 baddr += sizeof(udp_hdr); in skt_netif_ipv6_udp_frame_populate()250 udp_hdr_p->uh_sum = in_cksum(udp_hdr_p, ntohs(udp_hdr.uh_ulen), 0); in skt_netif_ipv6_udp_frame_populate()[all …]