Searched refs:skb (Results 326 - 350 of 3419) sorted by relevance

<<11121314151617181920>>

/linux-master/net/mptcp/
H A Ddiag.c15 static int subflow_get_info(struct sock *sk, struct sk_buff *skb) argument
26 start = nla_nest_start_noflag(skb, INET_ULP_INFO_MPTCP);
57 if (nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_TOKEN_REM, sf->remote_token) ||
58 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_TOKEN_LOC, sf->token) ||
59 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ,
61 nla_put_u64_64bit(skb, MPTCP_SUBFLOW_ATTR_MAP_SEQ, sf->map_seq,
63 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_MAP_SFSEQ,
65 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_SSN_OFFSET, sf->ssn_offset) ||
66 nla_put_u16(skb, MPTCP_SUBFLOW_ATTR_MAP_DATALEN,
68 nla_put_u32(skb, MPTCP_SUBFLOW_ATTR_FLAG
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_rxtx.h56 void mlx5e_ipsec_set_iv_esn(struct sk_buff *skb, struct xfrm_state *x,
58 void mlx5e_ipsec_set_iv(struct sk_buff *skb, struct xfrm_state *x,
61 struct sk_buff *skb,
67 struct sk_buff *skb,
85 void mlx5e_ipsec_tx_build_eseg(struct mlx5e_priv *priv, struct sk_buff *skb,
89 mlx5e_ipsec_feature_check(struct sk_buff *skb, netdev_features_t features) argument
91 struct xfrm_offload *xo = xfrm_offload(skb);
92 struct sec_path *sp = skb_sec_path(skb);
116 mlx5e_ipsec_txwqe_build_eseg_csum(struct mlx5e_txqsq *sq, struct sk_buff *skb, argument
125 inner_ipproto = xfrm_offload(skb)
139 mlx5e_ipsec_offload_handle_rx_skb(struct net_device *netdev, struct sk_buff *skb, u32 ipsec_meta_data) argument
151 mlx5e_ipsec_feature_check(struct sk_buff *skb, netdev_features_t features) argument
155 mlx5e_ipsec_txwqe_build_eseg_csum(struct mlx5e_txqsq *sq, struct sk_buff *skb, struct mlx5_wqe_eth_seg *eseg) argument
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tc_dtime.c137 static int skb_get_type(struct __sk_buff *skb) argument
140 void *data_end = ctx_ptr(skb->data_end);
141 void *data = ctx_ptr(skb->data);
150 switch (skb->protocol) {
177 /* skb is not from src_ns or dst_ns.
178 * skb is not the testing IPPROTO.
202 /* The skb is the testing traffic */
214 int egress_host(struct __sk_buff *skb) argument
218 skb_type = skb_get_type(skb);
225 if (skb
245 ingress_host(struct __sk_buff *skb) argument
266 ingress_fwdns_prio100(struct __sk_buff *skb) argument
290 egress_fwdns_prio100(struct __sk_buff *skb) argument
316 ingress_fwdns_prio101(struct __sk_buff *skb) argument
362 egress_fwdns_prio101(struct __sk_buff *skb) argument
[all...]
H A Dip_check_defrag.c15 extern int bpf_dynptr_from_skb(struct sk_buff *skb, __u64 flags,
45 static int handle_v4(struct sk_buff *skb) argument
51 if (bpf_dynptr_from_skb(skb, 0, &ptr))
67 static int handle_v6(struct sk_buff *skb) argument
73 if (bpf_dynptr_from_skb(skb, 0, &ptr))
92 struct sk_buff *skb = ctx->skb; local
94 switch (bpf_ntohs(skb->protocol)) {
96 return handle_v4(skb);
98 return handle_v6(skb);
[all...]
H A Dtest_lwt_seg6local.c55 static __always_inline struct ip6_srh_t *get_srh(struct __sk_buff *skb) argument
62 data_end = (void *)(long)skb->data_end;
63 cursor = (void *)(long)skb->data;
90 int update_tlv_pad(struct __sk_buff *skb, uint32_t new_pad, argument
96 err = bpf_lwt_seg6_adjust_srh(skb, pad_off,
110 err = bpf_lwt_seg6_store_bytes(skb, pad_off,
120 int is_valid_tlv_boundary(struct __sk_buff *skb, struct ip6_srh_t *srh, argument
128 srh_off = (char *)srh - (char *)(long)skb->data;
146 err = bpf_skb_load_bytes(skb, cur_off, &tlv, sizeof(tlv));
179 int add_tlv(struct __sk_buff *skb, struc argument
223 delete_tlv(struct __sk_buff *skb, struct ip6_srh_t *srh, uint32_t tlv_off) argument
261 has_egr_tlv(struct __sk_buff *skb, struct ip6_srh_t *srh) argument
288 __encap_srh(struct __sk_buff *skb) argument
324 __add_egr_x(struct __sk_buff *skb) argument
362 __pop_egr(struct __sk_buff *skb) argument
401 __inspect_t(struct __sk_buff *skb) argument
[all...]
/linux-master/net/phonet/
H A Dpn_netlink.c22 static int fill_addr(struct sk_buff *skb, struct net_device *dev, u8 addr,
27 struct sk_buff *skb; local
30 skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct ifaddrmsg)) +
32 if (skb == NULL)
34 err = fill_addr(skb, dev, addr, 0, 0, event);
37 kfree_skb(skb);
40 rtnl_notify(skb, dev_net(dev), 0,
51 static int addr_doit(struct sk_buff *skb, struct nlmsghdr *nlh, argument
54 struct net *net = sock_net(skb->sk);
61 if (!netlink_capable(skb, CAP_NET_ADMI
95 fill_addr(struct sk_buff *skb, struct net_device *dev, u8 addr, u32 portid, u32 seq, int event) argument
121 getaddr_dumpit(struct sk_buff *skb, struct netlink_callback *cb) argument
160 fill_route(struct sk_buff *skb, struct net_device *dev, u8 dst, u32 portid, u32 seq, int event) argument
193 struct sk_buff *skb; local
218 route_doit(struct sk_buff *skb, struct nlmsghdr *nlh, struct netlink_ext_ack *extack) argument
263 route_dumpit(struct sk_buff *skb, struct netlink_callback *cb) argument
[all...]
/linux-master/net/ipv6/
H A Dudp.c59 #include <trace/events/skb.h>
168 struct sk_buff *skb)
192 result = inet6_lookup_reuseport(net, sk, skb, sizeof(struct udphdr),
225 struct sk_buff *skb)
239 hslot2, skb);
246 sk = inet6_lookup_run_sk_lookup(net, IPPROTO_UDP, skb, sizeof(struct udphdr),
266 hslot2, skb);
274 static struct sock *__udp6_lib_lookup_skb(struct sk_buff *skb, argument
278 const struct ipv6hdr *iph = ipv6_hdr(skb);
280 return __udp6_lib_lookup(dev_net(skb
164 udp6_lib_lookup2(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned int hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) argument
221 __udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, __be16 dport, int dif, int sdif, struct udp_table *udptable, struct sk_buff *skb) argument
285 udp6_lib_lookup_skb(const struct sk_buff *skb, __be16 sport, __be16 dport) argument
322 udp6_skb_len(struct sk_buff *skb) argument
337 struct sk_buff *skb; local
474 __udp6_lib_err_encap_no_sk(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
513 __udp6_lib_err_encap(struct net *net, const struct ipv6hdr *hdr, int offset, struct udphdr *uh, struct udp_table *udptable, struct sock *sk, struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, __be32 info) argument
568 __udp6_lib_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info, struct udp_table *udptable) argument
647 __udpv6_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) argument
683 udpv6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
691 udpv6_queue_rcv_one_skb(struct sock *sk, struct sk_buff *skb) argument
783 udpv6_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) argument
829 udp6_csum_zero_error(struct sk_buff *skb) argument
843 __udp6_lib_mcast_deliver(struct net *net, struct sk_buff *skb, const struct in6_addr *saddr, const struct in6_addr *daddr, struct udp_table *udptable, int proto) argument
921 udp6_unicast_rcv_skb(struct sock *sk, struct sk_buff *skb, struct udphdr *uh) argument
937 __udp6_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, int proto) argument
1089 udp_v6_early_demux(struct sk_buff *skb) argument
1131 udpv6_rcv(struct sk_buff *skb) argument
1182 udp6_hwcsum_outgoing(struct sock *sk, struct sk_buff *skb, const struct in6_addr *saddr, const struct in6_addr *daddr, int len) argument
1223 udp_v6_send_skb(struct sk_buff *skb, struct flowi6 *fl6, struct inet_cork *cork) argument
1310 struct sk_buff *skb; local
1582 struct sk_buff *skb; local
[all...]
H A Dip6_output.c60 static int ip6_finish_output2(struct net *net, struct sock *sk, struct sk_buff *skb) argument
62 struct dst_entry *dst = skb_dst(skb);
72 if (unlikely(hh_len > skb_headroom(skb)) && dev->header_ops) {
73 skb = skb_expand_head(skb, hh_len);
74 if (!skb) {
80 hdr = ipv6_hdr(skb);
84 ((mroute6_is_socket(net, skb) &&
85 !(IP6CB(skb)->flags & IP6SKB_FORWARDED)) ||
87 struct sk_buff *newskb = skb_clone(skb, GFP_ATOMI
143 ip6_finish_output_gso_slowpath_drop(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned int mtu) argument
181 ip6_finish_output_gso(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned int mtu) argument
191 __ip6_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) argument
214 ip6_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) argument
229 ip6_output(struct net *net, struct sock *sk, struct sk_buff *skb) argument
263 ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6, __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority) argument
375 ip6_call_ra_chain(struct sk_buff *skb, int sel) argument
409 ip6_forward_proxy_check(struct sk_buff *skb) argument
461 ip6_forward_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument
475 ip6_pkt_too_big(const struct sk_buff *skb, unsigned int mtu) argument
493 ip6_forward(struct sk_buff *skb) argument
692 ip6_fraglist_init(struct sk_buff *skb, unsigned int hlen, u8 *prevhdr, u8 nexthdr, __be32 frag_id, struct ip6_fraglist_iter *iter) argument
733 ip6_fraglist_prepare(struct sk_buff *skb, struct ip6_fraglist_iter *iter) argument
758 ip6_frag_init(struct sk_buff *skb, unsigned int hlen, unsigned int mtu, unsigned short needed_tailroom, int hdr_room, u8 *prevhdr, u8 nexthdr, __be32 frag_id, struct ip6_frag_state *state) argument
779 ip6_frag_next(struct sk_buff *skb, struct ip6_frag_state *state) argument
855 ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, int (*output)(struct net *, struct sock *, struct sk_buff *)) argument
1308 ip6_append_data_mtu(unsigned int *mtu, int *maxfraglen, unsigned int fragheaderlen, struct sk_buff *skb, struct rt6_info *rt, unsigned int orig_mtu) argument
1403 __ip6_append_data(struct sock *sk, struct sk_buff_head *queue, struct inet_cork_full *cork_full, struct inet6_cork *v6_cork, struct page_frag *pfrag, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, size_t length, int transhdrlen, unsigned int flags, struct ipcm6_cookie *ipc6) argument
1413 struct sk_buff *skb, *skb_prev = NULL; local
1803 ip6_append_data(struct sock *sk, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, size_t length, int transhdrlen, struct ipcm6_cookie *ipc6, struct flowi6 *fl6, struct rt6_info *rt, unsigned int flags) argument
1841 ip6_cork_steal_dst(struct sk_buff *skb, struct inet_cork_full *cork) argument
1874 struct sk_buff *skb, *tmp_skb; local
1949 ip6_send_skb(struct sk_buff *skb) argument
1969 struct sk_buff *skb; local
1984 struct sk_buff *skb; local
2003 ip6_make_skb(struct sock *sk, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, size_t length, int transhdrlen, struct ipcm6_cookie *ipc6, struct rt6_info *rt, unsigned int flags, struct inet_cork_full *cork) argument
[all...]
/linux-master/net/ieee802154/6lowpan/
H A D6lowpan_i.h33 int lowpan_frag_rcv(struct sk_buff *skb, const u8 frag_type);
40 int lowpan_header_create(struct sk_buff *skb, struct net_device *dev,
43 netdev_tx_t lowpan_xmit(struct sk_buff *skb, struct net_device *dev);
45 int lowpan_iphc_decompress(struct sk_buff *skb);
46 lowpan_rx_result lowpan_rx_h_ipv6(struct sk_buff *skb);
/linux-master/net/6lowpan/
H A Dnhc_udp.c36 static int udp_uncompress(struct sk_buff *skb, size_t needed) argument
43 fail = lowpan_fetch_skb(skb, &tmp, sizeof(tmp));
48 fail |= lowpan_fetch_skb(skb, &uh.source, sizeof(uh.source));
49 fail |= lowpan_fetch_skb(skb, &uh.dest, sizeof(uh.dest));
52 fail |= lowpan_fetch_skb(skb, &uh.source, sizeof(uh.source));
53 fail |= lowpan_fetch_skb(skb, &val, sizeof(val));
57 fail |= lowpan_fetch_skb(skb, &val, sizeof(val));
59 fail |= lowpan_fetch_skb(skb, &uh.dest, sizeof(uh.dest));
62 fail |= lowpan_fetch_skb(skb, &val, sizeof(val));
78 fail |= lowpan_fetch_skb(skb,
115 udp_compress(struct sk_buff *skb, u8 **hc_ptr) argument
[all...]
/linux-master/drivers/net/wireless/rsi/
H A Drsi_91x_usb_ops.c33 struct sk_buff *skb; local
43 skb = skb_dequeue(&dev->rx_q);
44 if (!skb)
46 status = rsi_read_pkt(common, skb->data, 0);
52 dev_kfree_skb(skb);
/linux-master/include/net/netfilter/
H A Dnf_conntrack_act_ct.h23 static inline void nf_conn_act_ct_ext_fill(struct sk_buff *skb, struct nf_conn *ct, argument
30 if (dev_net(skb->dev) == &init_net && act_ct_ext)
31 act_ct_ext->ifindex[CTINFO2DIR(ctinfo)] = skb->dev->ifindex;
36 nf_conn_act_ct_ext *nf_conn_act_ct_ext_add(struct sk_buff *skb, argument
47 nf_conn_act_ct_ext_fill(skb, ct, ctinfo);
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_trace.h116 struct sk_buff *skb),
118 TP_ARGS(ring, desc, skb),
123 __field(void*, skb)
130 __entry->skb = skb;
135 "netdev: %s ring: %p desc: %p skb %p",
137 __entry->desc, __entry->skb)
144 struct sk_buff *skb),
146 TP_ARGS(ring, desc, skb));
152 struct sk_buff *skb),
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_trace.h16 TP_PROTO(struct sk_buff *skb),
17 TP_ARGS(skb),
33 __entry->headlen = skb_headlen(skb);
34 __entry->len = skb->len;
35 __entry->nr_frags = skb_shinfo(skb)->nr_frags;
36 __entry->gso_size = skb_shinfo(skb)->gso_size;
37 __entry->gso_segs = skb_shinfo(skb)->gso_segs;
38 __entry->gso_type = skb_shinfo(skb)->gso_type;
39 __entry->hdr_len = skb->encapsulation ?
40 skb_inner_tcp_all_headers(skb)
[all...]
/linux-master/net/tipc/
H A Dnet.c172 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family,
177 attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_NET);
181 if (nla_put_u32(msg->skb, TIPC_NLA_NET_ID, tn->net_id))
183 if (nla_put_u64_64bit(msg->skb, TIPC_NLA_NET_NODEID, *w0, 0))
185 if (nla_put_u64_64bit(msg->skb, TIPC_NLA_NET_NODEID_W1, *w1, 0))
187 nla_nest_end(msg->skb, attrs);
188 genlmsg_end(msg->skb, hdr);
193 nla_nest_cancel(msg->skb, attrs);
195 genlmsg_cancel(msg->skb, hdr);
200 int tipc_nl_net_dump(struct sk_buff *skb, struc argument
225 __tipc_nl_net_set(struct sk_buff *skb, struct genl_info *info) argument
280 tipc_nl_net_set(struct sk_buff *skb, struct genl_info *info) argument
323 tipc_nl_net_addr_legacy_get(struct sk_buff *skb, struct genl_info *info) argument
[all...]
/linux-master/net/ethtool/
H A Dtunnels.c83 struct sk_buff *skb)
94 ports = nla_nest_start(skb, ETHTOOL_A_TUNNEL_INFO_UDP_PORTS);
102 table = nla_nest_start(skb, ETHTOOL_A_TUNNEL_UDP_TABLE);
106 if (nla_put_u32(skb, ETHTOOL_A_TUNNEL_UDP_TABLE_SIZE,
110 if (ethnl_put_bitset32(skb, ETHTOOL_A_TUNNEL_UDP_TABLE_TYPES,
116 if (udp_tunnel_nic_dump_write(req_base->dev, i, skb))
119 nla_nest_end(skb, table);
125 table = nla_nest_start(skb, ETHTOOL_A_TUNNEL_UDP_TABLE);
129 if (nla_put_u32(skb, ETHTOOL_A_TUNNEL_UDP_TABLE_SIZE, 1))
132 if (ethnl_put_bitset32(skb, ETHTOOL_A_TUNNEL_UDP_TABLE_TYPE
82 ethnl_tunnel_info_fill_reply(const struct ethnl_req_info *req_base, struct sk_buff *skb) argument
165 ethnl_tunnel_info_doit(struct sk_buff *skb, struct genl_info *info) argument
241 ethnl_tunnel_info_dumpit(struct sk_buff *skb, struct netlink_callback *cb) argument
[all...]
/linux-master/drivers/infiniband/core/
H A Dnetlink.c82 get_cb_table(const struct sk_buff *skb, unsigned int type, unsigned int op) argument
90 if (sock_net(skb->sk) != &init_net && type != RDMA_NL_NLDEV)
131 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, argument
134 *nlh = nlmsg_put(skb, 0, seq, RDMA_NL_GET_TYPE(client, op), len, flags);
141 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh, argument
144 if (nla_put(skb, type, len, data)) {
145 nlmsg_cancel(skb, nlh);
152 static int rdma_nl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, argument
165 cb_table = get_cb_table(skb, index, op);
170 !netlink_capable(skb, CAP_NET_ADMI
207 rdma_nl_rcv_skb(struct sk_buff *skb, int (*cb)(struct sk_buff *, struct nlmsghdr *, struct netlink_ext_ack *)) argument
257 rdma_nl_rcv(struct sk_buff *skb) argument
262 rdma_nl_unicast(struct net *net, struct sk_buff *skb, u32 pid) argument
272 rdma_nl_unicast_wait(struct net *net, struct sk_buff *skb, __u32 pid) argument
282 rdma_nl_multicast(struct net *net, struct sk_buff *skb, unsigned int group, gfp_t flags) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dusb_mcu.c17 mt7663u_mcu_send_message(struct mt76_dev *mdev, struct sk_buff *skb, argument
23 mt7615_mcu_fill_msg(dev, skb, cmd, seq);
29 len = skb->len;
30 put_unaligned_le32(len, skb_push(skb, sizeof(len)));
31 pad = round_up(skb->len, 4) + 4 - skb->len;
32 ret = mt76_skb_adjust_pad(skb, pad);
36 ret = mt76u_bulk_msg(&dev->mt76, skb->data, skb->len, NULL,
40 dev_kfree_skb(skb);
[all...]
/linux-master/net/dsa/
H A Dtag_ar9331.c29 static struct sk_buff *ar9331_tag_xmit(struct sk_buff *skb, argument
36 phdr = skb_push(skb, AR9331_HDR_LEN);
45 return skb;
48 static struct sk_buff *ar9331_tag_rcv(struct sk_buff *skb, argument
54 if (unlikely(!pskb_may_pull(skb, AR9331_HDR_LEN)))
57 hdr = le16_to_cpu(*(__le16 *)skb_mac_header(skb));
72 skb_pull_rcsum(skb, AR9331_HDR_LEN);
77 skb->dev = dsa_conduit_find_user(ndev, 0, port);
78 if (!skb->dev)
81 return skb;
[all...]
/linux-master/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_cmdpkt.c16 struct sk_buff *skb; local
34 skb = dev_alloc_skb(frag_length +
37 skb = dev_alloc_skb(frag_length + 4);
39 if (!skb)
42 memcpy((unsigned char *)(skb->cb), &dev, sizeof(dev));
43 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE);
51 seg_ptr = skb_put(skb, priv->rtllib->tx_headroom);
59 skb_put_data(skb, data, frag_length);
66 skb);
68 priv->rtllib->softmac_hard_start_xmit(skb, de
[all...]
/linux-master/net/nfc/hci/
H A Dllc_shdlc.c101 #define SHDLC_DUMP_SKB(info, skb) \
105 16, 1, skb->data, skb->len, 0); \
129 struct sk_buff *skb; local
131 skb = alloc_skb(shdlc->tx_headroom + SHDLC_LLC_HEAD_ROOM +
133 if (skb)
134 skb_reserve(skb, shdlc->tx_headroom + SHDLC_LLC_HEAD_ROOM);
136 return skb;
144 struct sk_buff *skb; local
148 skb
162 llc_shdlc_send_u_frame(const struct llc_shdlc *shdlc, struct sk_buff *skb, enum uframe_modifier uframe_modifier) argument
185 struct sk_buff *skb; local
221 llc_shdlc_rcv_i_frame(struct llc_shdlc *shdlc, struct sk_buff *skb, int ns, int nr) argument
273 struct sk_buff *skb; local
286 struct sk_buff *skb; local
312 struct sk_buff *skb; local
364 struct sk_buff *skb; local
378 struct sk_buff *skb; local
387 llc_shdlc_rcv_u_frame(struct llc_shdlc *shdlc, struct sk_buff *skb, enum uframe_modifier u_frame_modifier) argument
455 struct sk_buff *skb; local
514 struct sk_buff *skb; local
708 llc_shdlc_recv_frame(struct llc_shdlc *shdlc, struct sk_buff *skb) argument
788 llc_shdlc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) argument
795 llc_shdlc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) argument
[all...]
/linux-master/drivers/staging/octeon/
H A Dethernet-tx.c30 #define CVM_OCT_SKB_CB(skb) ((u64 *)((skb)->cb))
36 * example, you wanted to use the skb->priority field, define
37 * GET_SKBUFF_QOS as: #define GET_SKBUFF_QOS(skb) ((skb)->priority)
40 #define GET_SKBUFF_QOS(skb) 0
121 * @skb: Packet to send
126 netdev_tx_t cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev) argument
158 qos = GET_SKBUFF_QOS(skb);
189 if (unlikely(skb_shinfo(skb)
507 cvm_oct_xmit_pow(struct sk_buff *skb, struct net_device *dev) argument
[all...]
/linux-master/drivers/misc/sgi-xp/
H A Dxpnet.c38 * byte of the skb (leadin_ignore) and the number of bytes from the
39 * last useful byte of the skb to the end of the last cacheline
42 * size is the number of bytes to transfer which includes the skb->len
43 * (useful bytes of the senders skb) plus the leadin and tailout
92 * whether all outstanding message sends have completed. The skb can
96 struct sk_buff *skb; member in struct:xpnet_pending_msg
152 struct sk_buff *skb; local
170 skb = dev_alloc_skb(msg->size + L1_CACHE_BYTES);
171 if (!skb) {
183 * The allocated skb ha
363 xpnet_send(struct sk_buff *skb, struct xpnet_pending_msg *queued_msg, u64 start_addr, u64 end_addr, u16 embedded_bytes, int dest_partid) argument
412 xpnet_dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) argument
[all...]
/linux-master/net/bluetooth/
H A Dmgmt_util.c37 struct sk_buff *skb; local
39 skb = bt_skb_alloc(6 + len, GFP_ATOMIC);
40 if (!skb)
43 put_unaligned_le32(cookie, skb_put(skb, 4));
44 put_unaligned_le16(opcode, skb_put(skb, 2));
47 skb_put_data(skb, buf, len);
49 __net_timestamp(skb);
51 hdr = skb_push(skb, HCI_MON_HDR_SIZE);
54 hdr->len = cpu_to_le16(skb->len - HCI_MON_HDR_SIZE);
56 return skb;
62 struct sk_buff *skb; local
75 mgmt_send_event_skb(unsigned short channel, struct sk_buff *skb, int flag, struct sock *skip_sk) argument
114 struct sk_buff *skb; local
128 struct sk_buff *skb, *mskb; local
172 struct sk_buff *skb, *mskb; local
[all...]
/linux-master/drivers/nfc/st21nfca/
H A Di2c.c80 #define I2C_DUMP_SKB(info, skb) \
84 16, 1, (skb)->data, (skb)->len, 0); \
154 static void st21nfca_hci_add_len_crc(struct sk_buff *skb) argument
159 *(u8 *)skb_push(skb, 1) = 0;
161 crc = crc_ccitt(0xffff, skb->data, skb->len);
165 skb_put_u8(skb, tmp);
168 skb_put_u8(skb, tmp);
171 static void st21nfca_hci_remove_len_crc(struct sk_buff *skb) argument
182 st21nfca_hci_i2c_write(void *phy_id, struct sk_buff *skb) argument
291 st21nfca_hci_i2c_repack(struct sk_buff *skb) argument
345 st21nfca_hci_i2c_read(struct st21nfca_i2c_phy *phy, struct sk_buff *skb) argument
[all...]

Completed in 290 milliseconds

<<11121314151617181920>>