Home
last modified time | relevance | path

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

/net/
A Dcdp.c45 ushort csum; in cdp_compute_csum() local
92 csum = ~(ushort)result; in cdp_compute_csum()
95 if (csum != htons(csum)) /* little endian */ in cdp_compute_csum()
96 csum = htons(csum); in cdp_compute_csum()
98 return csum; in cdp_compute_csum()
A Dndisc.c107 unsigned short csum; in ip6_send_ns() local
138 csum = csum_ipv6_magic(&net_link_local_ip6, &dst_adr, in ip6_send_ns()
140 msg->icmph.icmp6_cksum = csum; in ip6_send_ns()
159 unsigned short csum; in ip6_send_rs() local
201 csum = csum_ipv6_magic(&net_link_local_ip6, &all_routers, in ip6_send_rs()
203 msg->icmph.icmp6_cksum = csum; in ip6_send_rs()
224 unsigned short csum; in ip6_send_na() local
251 csum = csum_ipv6_magic(&net_link_local_ip6, in ip6_send_na()
254 msg->icmph.icmp6_cksum = csum; in ip6_send_na()
A Dnet6.c256 unsigned short proto, unsigned int csum) in csum_ipv6_magic() argument
261 u32 sum = csum; in csum_ipv6_magic()
385 u16 csum; in net_ip6_handler() local
398 csum = icmp->icmp6_cksum; in net_ip6_handler()
406 if (icmp->icmp6_cksum != csum) in net_ip6_handler()
425 csum = udp->udp_xsum; in net_ip6_handler()
433 if (csum != udp->udp_xsum) in net_ip6_handler()

Completed in 11 milliseconds