Home
last modified time | relevance | path

Searched refs:fraghdr (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dip_defrag.c158 struct ip6_frag *fraghdr = (struct ip6_frag *)(ip_frame + IP6_HLEN); in send_fragment() local
162 fraghdr->ip6f_offlg = htons(offset); in send_fragment()
165 fraghdr->ip6f_offlg = htons(offset | IP6_MF); in send_fragment()
220 struct ip6_frag *fraghdr = (struct ip6_frag *)(ip_frame + IP6_HLEN); in send_udp_frags() local
228 fraghdr->ip6f_nxt = IPPROTO_UDP; in send_udp_frags()
229 fraghdr->ip6f_reserved = 0; in send_udp_frags()
230 fraghdr->ip6f_ident = htonl(ip_id++); in send_udp_frags()
303 struct ip6_frag *fraghdr = (struct ip6_frag *)(ip_frame + IP6_HLEN); in send_udp_frags() local
307 fraghdr->ip6f_offlg = htons(offset / 8 | IP6_MF); in send_udp_frags()
/linux/include/linux/sunrpc/
H A Dxprtsock.h34 __be32 fraghdr, member
/linux/net/sunrpc/
H A Dxprtsock.c542 return transport->recv.fraghdr & cpu_to_be32(RPC_LAST_STREAM_FRAGMENT); in xs_read_stream_request_done()
605 .iov_base = &transport->recv.fraghdr, in xs_read_stream_header()
694 transport->recv.len = be32_to_cpu(transport->recv.fraghdr) & in xs_read_stream()
696 transport->recv.offset -= sizeof(transport->recv.fraghdr); in xs_read_stream()