| /linux/net/netfilter/ipvs/ |
| H A 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() 142 struct sctphdr *sctph; in sctp_dnat_handler() 191 struct sctphdr *sh; in sctp_csum_check() 201 sh = (struct sctphdr *)(skb->data + sctphoff); in sctp_csum_check() 394 cofs = ihl + sizeof(struct sctphdr); in set_sctp_state()
|
| /linux/net/netfilter/ipset/ |
| H A D | ip_set_getport.c | 42 struct sctphdr _sh; in get_port() 43 const struct sctphdr *sh; in get_port()
|
| /linux/net/sctp/ |
| H A D | input.c | 73 struct sctphdr *sh = sctp_hdr(skb); in sctp_rcv_checksum() 112 if (skb->len < sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr) + in sctp_rcv() 121 !pskb_may_pull(skb, sizeof(struct sctphdr))) in sctp_rcv() 136 __skb_pull(skb, sizeof(struct sctphdr)); in sctp_rcv() 461 struct sctphdr *sctphdr, in sctp_err_lookup() argument 472 __u32 vtag = ntohl(sctphdr->vtag); in sctp_err_lookup() 511 sizeof(struct sctphdr), in sctp_err_lookup() 869 sizeof(struct sctphdr)); in __sctp_rcv_lookup_endpoint() 1132 struct sctphdr *sh = sctp_hdr(skb); in __sctp_rcv_init_lookup()
|
| H A D | output.c | 227 overhead += sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr); in sctp_packet_bundle_pad() 549 struct sctphdr *sh = in sctp_packet_pack() 550 (struct sctphdr *)skb_transport_header(head); in sctp_packet_pack() 558 head->csum_offset = offsetof(struct sctphdr, checksum); in sctp_packet_pack() 576 struct sctphdr *sh; in sctp_packet_transmit() 606 sh = skb_push(head, sizeof(struct sctphdr)); in sctp_packet_transmit()
|
| H A D | offload.c | 43 struct sctphdr *sh; in sctp_gso_segment()
|
| H A D | ipv6.c | 531 struct sctphdr *sh = sctp_hdr(skb); in sctp_v6_from_skb() 869 struct sctphdr *sh; in sctp_inet6_skb_msgname()
|
| /linux/include/linux/ |
| H A D | sctp.h | 45 struct sctphdr { struct 52 static inline struct sctphdr *sctp_hdr(const struct sk_buff *skb) in sctp_hdr() argument 54 return (struct sctphdr *)skb_transport_header(skb); in sctp_hdr()
|
| /linux/net/netfilter/ |
| H A D | xt_sctp.c | 121 const struct sctphdr *sh; in sctp_mt() 122 struct sctphdr _sh; in sctp_mt()
|
| H A D | nf_nat_proto.c | 105 struct sctphdr *hdr; in sctp_manip_pkt() 118 hdr = (struct sctphdr *)(skb->data + hdroff); in sctp_manip_pkt()
|
| H A D | nft_exthdr.c | 373 unsigned int offset = nft_thoff(pkt) + sizeof(struct sctphdr); in nft_exthdr_sctp_eval()
|
| /linux/include/net/sctp/ |
| H A D | sctp.h | 138 struct sctphdr *, struct sctp_association **, 573 __u32 overhead = sizeof(struct sctphdr) + extra; in __sctp_mtu_payload() 621 sizeof(struct sctphdr); in sctp_transport_pl_hlen()
|
| /linux/net/core/ |
| H A D | gso.c | 157 thlen = sizeof(struct sctphdr); in skb_gso_transport_seglen()
|
| H A D | flow_dissector.c | 1963 poff += sizeof(struct sctphdr); in __skb_get_poff()
|
| H A D | dev.c | 3638 offset = start + offsetof(struct sctphdr, checksum); in skb_crc32c_csum_help()
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_fdir.c | 460 struct sctphdr *sctph = (struct sctphdr *)hdr->buffer; in iavf_fill_fdir_sctp_hdr()
|
| H A D | iavf_txrx.c | 1980 offset |= (sizeof(struct sctphdr) >> 2) << in iavf_tx_enable_csum()
|
| /linux/net/sched/ |
| H A D | act_csum.c | 369 struct sctphdr *sctph; in tcf_csum_sctp()
|
| /linux/net/openvswitch/ |
| H A D | actions.c | 661 struct sctphdr *sh; in set_sctp() 665 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp()
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_tx.c | 257 *l4_len = sizeof(struct sctphdr); in get_inner_l4_info()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_txrx.c | 281 struct sctphdr *sctp; in i40e_create_dummy_sctp_packet() 286 sctp = (struct sctphdr *)tmp; in i40e_create_dummy_sctp_packet() 3395 offset |= (sizeof(struct sctphdr) >> 2) << in i40e_tx_enable_csum()
|
| /linux/security/selinux/ |
| H A D | hooks.c | 4561 struct sctphdr _sctph, *sh; in selinux_parse_skb_ipv4() 4639 struct sctphdr _sctph, *sh; in selinux_parse_skb_ipv6()
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ixgbevf_main.c | 3917 case offsetof(struct sctphdr, checksum): in ixgbevf_tx_csum()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_main.c | 8830 case offsetof(struct sctphdr, checksum): in ixgbe_tx_csum()
|