Searched refs:sctphdr (Results 1 – 19 of 19) sorted by relevance
/net/sctp/ |
D | input.c | 70 struct sctphdr *sh = sctp_hdr(skb); in sctp_rcv_checksum() 109 if (skb->len < sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr) + in sctp_rcv() 118 !pskb_may_pull(skb, sizeof(struct sctphdr))) in sctp_rcv() 133 __skb_pull(skb, sizeof(struct sctphdr)); in sctp_rcv() 476 struct sctphdr *sctphdr, in sctp_err_lookup() argument 487 __u32 vtag = ntohl(sctphdr->vtag); in sctp_err_lookup() 524 sizeof(struct sctphdr), in sctp_err_lookup() 885 sizeof(struct sctphdr)); in __sctp_rcv_lookup_endpoint() 1130 struct sctphdr *sh = sctp_hdr(skb); in __sctp_rcv_init_lookup()
|
D | output.c | 226 overhead += sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr); in sctp_packet_bundle_pad() 548 struct sctphdr *sh = in sctp_packet_pack() 549 (struct sctphdr *)skb_transport_header(head); in sctp_packet_pack() 557 head->csum_offset = offsetof(struct sctphdr, checksum); in sctp_packet_pack() 575 struct sctphdr *sh; in sctp_packet_transmit() 605 sh = skb_push(head, sizeof(struct sctphdr)); in sctp_packet_transmit()
|
D | offload.c | 42 struct sctphdr *sh; in sctp_gso_segment()
|
D | ipv6.c | 529 struct sctphdr *sh = sctp_hdr(skb); in sctp_v6_from_skb() 895 struct sctphdr *sh; in sctp_inet6_skb_msgname()
|
D | protocol.c | 220 struct sctphdr *sh = sctp_hdr(skb); in sctp_v4_from_skb() 990 struct sctphdr *sh = sctp_hdr(skb); in sctp_inet_skb_msgname()
|
/net/netfilter/ipvs/ |
D | ip_vs_proto_sctp.c | 23 struct sctphdr *sh, _sctph; in sctp_conn_schedule() 83 static void sctp_nat_csum(struct sk_buff *skb, struct sctphdr *sctph, in sctp_nat_csum() 94 struct sctphdr *sctph; in sctp_snat_handler() 141 struct sctphdr *sctph; in sctp_dnat_handler() 189 struct sctphdr *sh; in sctp_csum_check() 199 sh = (struct sctphdr *)(skb->data + sctphoff); in sctp_csum_check() 392 cofs = ihl + sizeof(struct sctphdr); in set_sctp_state()
|
D | ip_vs_core.c | 1055 sch = skb_header_pointer(skb, nh_len + sizeof(struct sctphdr), in is_sctp_abort() 1089 sch = skb_header_pointer(skb, iph->len + sizeof(struct sctphdr), in is_new_conn()
|
/net/netfilter/ |
D | nf_conntrack_proto_sctp.c | 146 for ((offset) = (dataoff) + sizeof(struct sctphdr), (count) = 0; \ 262 const struct sctphdr *sh, unsigned int dataoff) in sctp_new() 320 const struct sctphdr *sh; in sctp_error() 323 if (skb->len < dataoff + sizeof(struct sctphdr)) { in sctp_error() 334 sh = (const struct sctphdr *)(skb->data + dataoff); in sctp_error() 356 const struct sctphdr *sh; in nf_conntrack_sctp_packet() 357 struct sctphdr _sctph; in nf_conntrack_sctp_packet()
|
D | xt_sctp.c | 122 const struct sctphdr *sh; in sctp_mt() 123 struct sctphdr _sh; in sctp_mt()
|
D | nft_payload.c | 577 struct sctphdr *sh; in nft_payload_csum_sctp() 582 sh = (struct sctphdr *)(skb->data + offset); in nft_payload_csum_sctp() 750 if (priv->csum_offset != offsetof(struct sctphdr, checksum)) in nft_payload_set_init()
|
D | nf_nat_proto.c | 105 struct sctphdr *hdr; in sctp_manip_pkt() 118 hdr = (struct sctphdr *)(skb->data + hdroff); in sctp_manip_pkt()
|
D | nft_exthdr.c | 375 unsigned int offset = nft_thoff(pkt) + sizeof(struct sctphdr); in nft_exthdr_sctp_eval()
|
/net/netfilter/ipset/ |
D | ip_set_getport.c | 42 struct sctphdr _sh; in get_port() 43 const struct sctphdr *sh; in get_port()
|
/net/openvswitch/ |
D | flow.c | 234 sizeof(struct sctphdr)); in sctphdr_ok() 599 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() 722 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4()
|
D | actions.c | 747 struct sctphdr *sh; in set_sctp() 751 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp()
|
/net/sched/ |
D | act_csum.c | 368 struct sctphdr *sctph; in tcf_csum_sctp()
|
/net/core/ |
D | flow_dissector.c | 1698 poff += sizeof(struct sctphdr); in __skb_get_poff()
|
D | skbuff.c | 5560 thlen = sizeof(struct sctphdr); in skb_gso_transport_seglen()
|
D | dev.c | 3311 offset = start + offsetof(struct sctphdr, checksum); in skb_crc32c_csum_help()
|