Home
last modified time | relevance | path

Searched refs:skb_tail_pointer (Results 1 – 25 of 156) sorted by relevance

1234567

/linux-6.1.9/net/ipv4/netfilter/
Darpt_mangle.c30 (arpptr + hln > skb_tail_pointer(skb))) in target()
37 (arpptr + pln > skb_tail_pointer(skb))) in target()
44 (arpptr + hln > skb_tail_pointer(skb))) in target()
51 (arpptr + pln > skb_tail_pointer(skb))) in target()
/linux-6.1.9/include/net/
Dinet_ecn.h177 skb_tail_pointer(skb)) in INET_ECN_set_ce()
183 skb_tail_pointer(skb)) in INET_ECN_set_ce()
213 skb_tail_pointer(skb)) in INET_ECN_set_ect1()
219 skb_tail_pointer(skb)) in INET_ECN_set_ect1()
Dnetlink.h984 nlh->nlmsg_len = skb_tail_pointer(skb) - (unsigned char *)nlh; in nlmsg_end()
995 return skb_tail_pointer(skb); in nlmsg_get_pos()
1782 struct nlattr *start = (struct nlattr *)skb_tail_pointer(skb); in nla_nest_start_noflag()
1817 start->nla_len = skb_tail_pointer(skb) - (unsigned char *)start; in nla_nest_end()
1890 if (IS_ALIGNED((unsigned long)skb_tail_pointer(skb), 8)) in nla_need_padding_for_64bit()
Dmac802154.h245 (skb_tail_pointer(skb) - in ieee802154_get_fc_from_skb()
/linux-6.1.9/include/uapi/linux/netfilter/
Dnfnetlink_compat.h48 ({ struct nfattr *__start = (struct nfattr *)skb_tail_pointer(skb); \
52 ({ (start)->nfa_len = skb_tail_pointer(skb) - (unsigned char *)(start); \
/linux-6.1.9/drivers/misc/sgi-xp/
Dxpnet.c235 (void *)skb->data, skb_tail_pointer(skb), skb_end_pointer(skb), in xpnet_receive()
244 (void *)skb->head, (void *)skb->data, skb_tail_pointer(skb), in xpnet_receive()
385 msg->tailout_ignore = end_addr - (u64)skb_tail_pointer(skb); in xpnet_send()
421 (void *)skb->data, skb_tail_pointer(skb), skb_end_pointer(skb), in xpnet_dev_hard_start_xmit()
446 end_addr = L1_CACHE_ALIGN((u64)skb_tail_pointer(skb)); in xpnet_dev_hard_start_xmit()
/linux-6.1.9/net/sctp/
Dinqueue.c205 if (chunk->chunk_end + sizeof(*ch) <= skb_tail_pointer(chunk->skb)) { in sctp_inq_pop()
208 } else if (chunk->chunk_end > skb_tail_pointer(chunk->skb)) { in sctp_inq_pop()
211 chunk->chunk_end = skb_tail_pointer(chunk->skb); in sctp_inq_pop()
/linux-6.1.9/net/caif/
Dcfpkt_skbuff.c157 if (unlikely(skb->data + len > skb_tail_pointer(skb))) { in cfpkt_extr_trail()
161 from = skb_tail_pointer(skb) - len; in cfpkt_extr_trail()
337 u16 len2nd = skb_tail_pointer(skb) - split; in cfpkt_split()
342 if (skb->data + pos > skb_tail_pointer(skb)) { in cfpkt_split()
/linux-6.1.9/net/ieee802154/
Dheader_ops.c269 if (buf + 3 > skb_tail_pointer(skb)) in ieee802154_hdr_peek_addrs()
275 if (rc < 0 || buf + rc > skb_tail_pointer(skb)) in ieee802154_hdr_peek_addrs()
297 if (buf + want > skb_tail_pointer(skb)) in ieee802154_hdr_peek()
/linux-6.1.9/net/dsa/
Dtag_ksz.c72 u8 *tag = skb_tail_pointer(skb) - KSZ_EGRESS_TAG_LEN; in ksz8795_rcv()
139 u8 *tag = skb_tail_pointer(skb) - KSZ_EGRESS_TAG_LEN; in ksz9477_rcv()
Dtag_trailer.c35 trailer = skb_tail_pointer(skb) - 4; in trailer_rcv()
Dtag_hellcreek.c43 u8 *tag = skb_tail_pointer(skb) - HELLCREEK_TAG_LEN; in hellcreek_rcv()
Dtag_xrs700x.c33 trailer = skb_tail_pointer(skb) - 1; in xrs700x_rcv()
Dtag_rtl8_4.c217 if (unlikely(rtl8_4_read_tag(skb, dev, skb_tail_pointer(skb) - RTL8_4_TAG_LEN))) in rtl8_4t_tag_rcv()
/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_ftp.c275 data_limit = skb_tail_pointer(skb); in ip_vs_ftp_out()
292 data_limit = skb_tail_pointer(skb); in ip_vs_ftp_out()
440 data_limit = skb_tail_pointer(skb); in ip_vs_ftp_in()
/linux-6.1.9/net/ipv6/
Dip6_icmp.c71 skb_tail_pointer(skb_in) || skb_ensure_writable(skb_in, in icmpv6_ndo_send()
Doutput_core.c67 unsigned int packet_len = skb_tail_pointer(skb) - in ip6_find_1stfragopt()
Dexthdrs_core.c119 int packet_len = skb_tail_pointer(skb) - skb_network_header(skb); in ipv6_find_tlv()
/linux-6.1.9/net/sched/
Dematch.c455 tail = skb_tail_pointer(skb); in tcf_em_tree_dump()
477 tail = skb_tail_pointer(skb); in tcf_em_tree_dump()
Dact_api.c486 unsigned char *b = skb_tail_pointer(skb); in tcf_action_dump_terse()
1170 unsigned char *b = skb_tail_pointer(skb); in tcf_action_dump_1()
1588 unsigned char *b = skb_tail_pointer(skb); in tca_get_fill()
1608 nlh->nlmsg_len = skb_tail_pointer(skb) - b; in tca_get_fill()
1699 b = skb_tail_pointer(skb); in tca_action_flush()
1739 nlh->nlmsg_len = skb_tail_pointer(skb) - b; in tca_action_flush()
2090 unsigned char *b = skb_tail_pointer(skb); in tc_dump_action()
2162 nlh->nlmsg_len = skb_tail_pointer(skb) - b; in tc_dump_action()
/linux-6.1.9/net/core/
Dgen_stats.c67 d->tail = (struct nlattr *)skb_tail_pointer(skb); in gnet_stats_start_copy_compat()
465 d->tail->nla_len = skb_tail_pointer(d->skb) - (u8 *)d->tail; in gnet_stats_finish_copy()
/linux-6.1.9/net/mac802154/
Dllsec.c624 datalen = skb_tail_pointer(skb) - data; in llsec_do_encrypt_unauth()
668 datalen = skb_tail_pointer(skb) - data; in llsec_do_encrypt_auth()
840 datalen = skb_tail_pointer(skb) - data; in llsec_do_decrypt_unauth()
874 datalen = skb_tail_pointer(skb) - data; in llsec_do_decrypt_auth()
/linux-6.1.9/drivers/s390/net/
Dctcm_mpc.c956 ch->xid = (struct xid2 *)skb_tail_pointer(ch->xid_skb); in mpc_channel_action()
958 ch->xid_id = skb_tail_pointer(ch->xid_skb); in mpc_channel_action()
1287 grp->xid = (struct xid2 *)skb_tail_pointer(grp->xid_skb); in ctcmpc_init_mpc_group()
1292 grp->xid_id = skb_tail_pointer(grp->xid_skb); in ctcmpc_init_mpc_group()
1573 (struct xid2 *)skb_tail_pointer(grp->rcvd_xid_skb); in mpc_validate_xid()
1675 ch->rcvd_xid = (struct xid2 *)skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid()
1678 ch->rcvd_xid_id = skb_tail_pointer(ch->trans_skb); in mpc_action_side_xid()
/linux-6.1.9/net/netfilter/
Dnf_nat_helper.c40 skb_tail_pointer(skb) - (skb_network_header(skb) + dataoff + in mangle_contents()
/linux-6.1.9/drivers/staging/rtl8712/
Dusb_ops_linux.c275 precvbuf->ptail = skb_tail_pointer(precvbuf->pskb); in r8712_usb_read_port()
281 precvbuf->ptail = skb_tail_pointer(precvbuf->pskb); in r8712_usb_read_port()

1234567