| /OK3568_Linux_fs/kernel/include/net/sctp/ |
| H A D | checksum.h | 54 struct sctphdr *sh = (struct sctphdr *)(skb->data + offset); in sctp_compute_cksum()
|
| H A D | sctp.h | 143 struct sctphdr *, struct sctp_association **, 577 __u32 overhead = sizeof(struct sctphdr) + extra; in sctp_mtu_payload()
|
| H A D | structs.h | 606 struct sctphdr *sctp_hdr;
|
| /OK3568_Linux_fs/kernel/net/sctp/ |
| H A 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() 474 struct sctphdr *sctphdr, in sctp_err_lookup() argument 485 __u32 vtag = ntohl(sctphdr->vtag); in sctp_err_lookup() 522 sizeof(struct sctphdr), in sctp_err_lookup() 860 sizeof(struct sctphdr)); in __sctp_rcv_lookup_endpoint() 1105 struct sctphdr *sh = sctp_hdr(skb); in __sctp_rcv_init_lookup()
|
| H A D | output.c | 525 struct sctphdr *sh = in sctp_packet_pack() 526 (struct sctphdr *)skb_transport_header(head); in sctp_packet_pack() 534 head->csum_offset = offsetof(struct sctphdr, checksum); in sctp_packet_pack() 553 struct sctphdr *sh; in sctp_packet_transmit() 580 sh = skb_push(head, sizeof(struct sctphdr)); in sctp_packet_transmit()
|
| H A D | offload.c | 38 struct sctphdr *sh; in sctp_gso_segment()
|
| H A D | ipv6.c | 481 struct sctphdr *sh = sctp_hdr(skb); in sctp_v6_from_skb() 847 struct sctphdr *sh; in sctp_inet6_skb_msgname()
|
| H A D | protocol.c | 219 struct sctphdr *sh = sctp_hdr(skb); in sctp_v4_from_skb() 920 struct sctphdr *sh = sctp_hdr(skb); in sctp_inet_skb_msgname()
|
| /OK3568_Linux_fs/kernel/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() 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()
|
| H A D | ip_vs_core.c | 1067 sch = skb_header_pointer(skb, nh_len + sizeof(struct sctphdr), in is_sctp_abort() 1101 sch = skb_header_pointer(skb, iph->len + sizeof(struct sctphdr), in is_new_conn()
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nf_conntrack_proto_sctp.c | 157 for ((offset) = (dataoff) + sizeof(struct sctphdr), (count) = 0; \ 273 const struct sctphdr *sh, unsigned int dataoff) in sctp_new() 331 const struct sctphdr *sh; in sctp_error() 334 if (skb->len < dataoff + sizeof(struct sctphdr)) { in sctp_error() 345 sh = (const struct sctphdr *)(skb->data + dataoff); in sctp_error() 367 const struct sctphdr *sh; in nf_conntrack_sctp_packet() 368 struct sctphdr _sctph; in nf_conntrack_sctp_packet()
|
| H A D | xt_sctp.c | 122 const struct sctphdr *sh; in sctp_mt() 123 struct sctphdr _sh; in sctp_mt()
|
| H A D | nft_payload.c | 532 struct sctphdr *sh; in nft_payload_csum_sctp() 537 sh = (struct sctphdr *)(skb->data + offset); in nft_payload_csum_sctp() 698 if (priv->csum_offset != offsetof(struct sctphdr, checksum)) in nft_payload_set_init()
|
| 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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/security/ |
| H A D | lsm_audit.c | 87 struct sctphdr *sh = sctp_hdr(skb); in ipv4_skb_to_auditdata() 167 struct sctphdr _sctph, *sh; in ipv6_skb_to_auditdata()
|
| /OK3568_Linux_fs/kernel/net/openvswitch/ |
| H A D | flow.c | 233 sizeof(struct sctphdr)); in sctphdr_ok() 593 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() 716 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4()
|
| H A D | actions.c | 746 struct sctphdr *sh; in set_sctp() 750 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp()
|
| /OK3568_Linux_fs/kernel/net/sched/ |
| H A D | act_csum.c | 367 struct sctphdr *sctph; in tcf_csum_sctp()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_txrx.c | 329 struct sctphdr *sctp; in i40e_add_del_fdir_sctpv4() 344 sctp = (struct sctphdr *)(raw_packet + IP_HEADER_OFFSET in i40e_add_del_fdir_sctpv4() 3200 offset |= (sizeof(struct sctphdr) >> 2) << in i40e_tx_enable_csum()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_tx.c | 256 *l4_len = sizeof(struct sctphdr); in get_inner_l4_info()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | flow_dissector.c | 1674 poff += sizeof(struct sctphdr); in __skb_get_poff()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_txrx.c | 2093 offset |= (sizeof(struct sctphdr) >> 2) << in iavf_tx_enable_csum()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_txrx.c | 2041 l4_len = sizeof(struct sctphdr) >> 2; in ice_tx_csum()
|