Searched refs:ihl (Results 1 - 9 of 9) sorted by relevance

/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/arch/ubicom32/lib/
H A Dchecksum.c189 __sum16 ip_fast_csum(const void *iph, unsigned int ihl) argument
191 return (__force __sum16)~do_csum(iph,ihl*4);
/netgear-R7800-V1.0.2.28/package/igmpproxy/src/
H A Dbt_igmp.c69 iph->check = inetChksum((unsigned char *)p, iph->ihl*4);
77 struct igmphdr *igmph = (struct igmphdr*)(igmp_buf + iph->ihl*4);
108 struct igmp *igmp = (struct igmp*)(igmp_buf + iph->ihl*4);
139 struct igmphdr *igmp_header = (struct igmphdr*)(pkt_data + eth_len + ip_header->ihl*4);
/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/arch/ubicom32/include/asm/
H A Dchecksum.h69 __sum16 ip_fast_csum(const void *iph, unsigned int ihl);
/netgear-R7800-V1.0.2.28/package/shortcut-fe/src/
H A Dsfe_ipv6.c1255 unsigned int len, struct sfe_ipv6_ip_hdr *iph, unsigned int ihl, bool flush_on_find)
1268 if (!pskb_may_pull(skb, (sizeof(struct sfe_ipv6_udp_hdr) + ihl))) {
1286 udph = (struct sfe_ipv6_udp_hdr *)(skb->data + ihl);
1600 unsigned int len, struct sfe_ipv6_ip_hdr *iph, unsigned int ihl, bool flush_on_find)
1615 if (!pskb_may_pull(skb, (sizeof(struct sfe_ipv6_tcp_hdr) + ihl))) {
1633 tcph = (struct sfe_ipv6_tcp_hdr *)(skb->data + ihl);
2060 unsigned int len, struct sfe_ipv6_ip_hdr *iph, unsigned int ihl)
2077 len -= ihl;
2078 if (!pskb_may_pull(skb, ihl + sizeof(struct icmp6hdr))) {
2091 icmph = (struct icmp6hdr *)(skb->data + ihl);
1254 sfe_ipv6_recv_udp(struct sfe_ipv6 *si, struct sk_buff *skb, struct net_device *dev, unsigned int len, struct sfe_ipv6_ip_hdr *iph, unsigned int ihl, bool flush_on_find) argument
1599 sfe_ipv6_recv_tcp(struct sfe_ipv6 *si, struct sk_buff *skb, struct net_device *dev, unsigned int len, struct sfe_ipv6_ip_hdr *iph, unsigned int ihl, bool flush_on_find) argument
2059 sfe_ipv6_recv_icmp(struct sfe_ipv6 *si, struct sk_buff *skb, struct net_device *dev, unsigned int len, struct sfe_ipv6_ip_hdr *iph, unsigned int ihl) argument
2252 unsigned int ihl = sizeof(struct sfe_ipv6_ip_hdr); local
[all...]
H A Dsfe_ipv4.c66 __u8 ihl:4, member in struct:sfe_ipv4_ip_hdr
70 ihl:4;
1181 unsigned int len, struct sfe_ipv4_ip_hdr *iph, unsigned int ihl, bool flush_on_find)
1195 if (unlikely(!pskb_may_pull(skb, (sizeof(struct sfe_ipv4_udp_hdr) + ihl)))) {
1213 udph = (struct sfe_ipv4_udp_hdr *)(skb->data + ihl);
1547 unsigned int len, struct sfe_ipv4_ip_hdr *iph, unsigned int ihl, bool flush_on_find)
1563 if (unlikely(!pskb_may_pull(skb, (sizeof(struct sfe_ipv4_tcp_hdr) + ihl)))) {
1581 tcph = (struct sfe_ipv4_tcp_hdr *)(skb->data + ihl);
2023 unsigned int len, struct sfe_ipv4_ip_hdr *iph, unsigned int ihl)
2038 uint32_t pull_len = sizeof(struct icmphdr) + ihl;
1180 sfe_ipv4_recv_udp(struct sfe_ipv4 *si, struct sk_buff *skb, struct net_device *dev, unsigned int len, struct sfe_ipv4_ip_hdr *iph, unsigned int ihl, bool flush_on_find) argument
1546 sfe_ipv4_recv_tcp(struct sfe_ipv4 *si, struct sk_buff *skb, struct net_device *dev, unsigned int len, struct sfe_ipv4_ip_hdr *iph, unsigned int ihl, bool flush_on_find) argument
2022 sfe_ipv4_recv_icmp(struct sfe_ipv4 *si, struct sk_buff *skb, struct net_device *dev, unsigned int len, struct sfe_ipv4_ip_hdr *iph, unsigned int ihl) argument
2221 unsigned int ihl; local
[all...]
/netgear-R7800-V1.0.2.28/package/qca-nss-clients/src/
H A Dnss_ipsecmgr.c786 if (unlikely((ip->version != IPVERSION) || (ip->ihl != 5))) {
787 nss_ipsecmgr_error("dropping packets(IP version:%x, Header len:%x)\n", ip->version, ip->ihl);
/netgear-R7800-V1.0.2.28/package/qca-mcs/src/
H A Dmc_snooping.c87 iph->ihl = 6;
1094 iph->tot_len = htons(transport_len + iph->ihl * 4);
2012 if (iph->ihl < 5 || iph->version != 4)
2015 if (unlikely(!pskb_may_pull(skb, iph->ihl*4)))
2020 if (unlikely(ip_fast_csum((u8 *)iph, iph->ihl)))
2028 if (skb->len < len || len < (iph->ihl*4))
/netgear-R7800-V1.0.2.28/package/qca-nss-ecm/src/
H A Decm_tracker.c465 ip_hdr->ip_header_length = v4_hdr->ihl;
/netgear-R7800-V1.0.2.28/target/linux/lantiq/files/net/ipv4/
H A Dsvip_nat.c1100 udph = (struct udphdr *)((u_int32_t *)iph + iph->ihl);

Completed in 184 milliseconds