Searched refs:IPH_CHKSUM_SET (Results 1 – 5 of 5) sorted by relevance
/external/syslinux/core/lwip/src/core/ipv4/ |
D | icmp.c | 202 IPH_CHKSUM_SET(iphdr, 0); in icmp_input() 204 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in icmp_input()
|
D | ip.c | 205 IPH_CHKSUM_SET(iphdr, IPH_CHKSUM(iphdr) + PP_HTONS(0x100) + 1); in ip_forward() 207 IPH_CHKSUM_SET(iphdr, IPH_CHKSUM(iphdr) + PP_HTONS(0x100)); in ip_forward() 690 IPH_CHKSUM_SET(iphdr, 0); 692 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, ip_hlen));
|
D | ip_frag.c | 580 IPH_CHKSUM_SET(fraghdr, 0); in ip_reass() 582 IPH_CHKSUM_SET(fraghdr, inet_chksum(fraghdr, IP_HLEN)); in ip_reass() 813 IPH_CHKSUM_SET(iphdr, 0); in ip_frag() 814 IPH_CHKSUM_SET(iphdr, inet_chksum(iphdr, IP_HLEN)); in ip_frag()
|
/external/syslinux/core/lwip/src/include/ipv4/lwip/ |
D | ip.h | 160 #define IPH_CHKSUM_SET(hdr, chksum) (hdr)->_chksum = (chksum) macro
|
/external/syslinux/core/lwip/src/netif/ppp/ |
D | vj.c | 580 IPH_CHKSUM_SET(&cs->cs_ip, 0); in vj_uncompress_tcp() 586 IPH_CHKSUM_SET(&cs->cs_ip, (u_short)(~tmp)); in vj_uncompress_tcp()
|