Searched refs:sctphoff (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_proto_sctp.c | 72 unsigned int sctphoff) sctp_nat_csum() 74 sctph->checksum = sctp_compute_cksum(skb, sctphoff); sctp_nat_csum() 83 unsigned int sctphoff = iph->len; sctp_snat_handler() local 92 if (!skb_make_writable(skb, sctphoff + sizeof(*sctph))) sctp_snat_handler() 111 sctph = (void *) skb_network_header(skb) + sctphoff; sctp_snat_handler() 117 sctp_nat_csum(skb, sctph, sctphoff); sctp_snat_handler() 130 unsigned int sctphoff = iph->len; sctp_dnat_handler() local 139 if (!skb_make_writable(skb, sctphoff + sizeof(*sctph))) sctp_dnat_handler() 158 sctph = (void *) skb_network_header(skb) + sctphoff; sctp_dnat_handler() 165 sctp_nat_csum(skb, sctph, sctphoff); sctp_dnat_handler() 176 unsigned int sctphoff; sctp_csum_check() local 182 sctphoff = sizeof(struct ipv6hdr); sctp_csum_check() 185 sctphoff = ip_hdrlen(skb); sctp_csum_check() 187 sh = skb_header_pointer(skb, sctphoff, sizeof(_sctph), &_sctph); sctp_csum_check() 192 val = sctp_compute_cksum(skb, sctphoff); sctp_csum_check() 71 sctp_nat_csum(struct sk_buff *skb, sctp_sctphdr_t *sctph, unsigned int sctphoff) sctp_nat_csum() argument
|
/linux-4.1.27/net/openvswitch/ |
H A D | actions.c | 572 unsigned int sctphoff = skb_transport_offset(skb); set_sctp() local 577 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); set_sctp() 583 old_correct_csum = sctp_compute_cksum(skb, sctphoff); set_sctp() 588 new_csum = sctp_compute_cksum(skb, sctphoff); set_sctp()
|
Completed in 83 milliseconds