Searched refs:skb (Results 426 - 450 of 3418) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_cm.h89 cxgb_mk_tid_release(struct sk_buff *skb, u32 len, u32 tid, u16 chan) argument
93 req = __skb_put_zero(skb, len);
97 set_wr_txq(skb, CPL_PRIORITY_SETUP, chan);
101 cxgb_mk_close_con_req(struct sk_buff *skb, u32 len, u32 tid, u16 chan, argument
106 req = __skb_put_zero(skb, len);
110 set_wr_txq(skb, CPL_PRIORITY_DATA, chan);
111 t4_set_arp_err_handler(skb, handle, handler);
115 cxgb_mk_abort_req(struct sk_buff *skb, u32 len, u32 tid, u16 chan, argument
120 req = __skb_put_zero(skb, len);
125 set_wr_txq(skb, CPL_PRIORITY_DAT
130 cxgb_mk_abort_rpl(struct sk_buff *skb, u32 len, u32 tid, u16 chan) argument
143 cxgb_mk_rx_data_ack(struct sk_buff *skb, u32 len, u32 tid, u16 chan, u32 credit_dack) argument
[all...]
/linux-master/net/netfilter/
H A Dxt_AUDIT.c31 static bool audit_ip4(struct audit_buffer *ab, struct sk_buff *skb) argument
36 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_iph), &_iph);
46 static bool audit_ip6(struct audit_buffer *ab, struct sk_buff *skb) argument
53 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_ip6h), &_ip6h);
58 ipv6_skip_exthdr(skb, skb_network_offset(skb) + sizeof(_ip6h), &nexthdr, &frag_off);
67 audit_tg(struct sk_buff *skb, const struct xt_action_param *par) argument
78 audit_log_format(ab, "mark=%#x", skb
109 audit_tg_ebt(struct sk_buff *skb, const struct xt_action_param *par) argument
[all...]
H A Dnfnetlink_log.c65 unsigned int qlen; /* number of nlmsgs in skb */
66 struct sk_buff *skb; /* pre-allocatd skb */ member in struct:nfulnl_instance
234 /* then flush all pending packets from skb */
241 if (inst->skb)
340 struct sk_buff *skb; local
343 /* alloc skb which should be big enough for a whole multipart
347 skb = alloc_skb(n, GFP_ATOMIC | __GFP_NOWARN);
348 if (!skb) {
353 skb
402 nfulnl_get_bridge_size(const struct sk_buff *skb) argument
421 nfulnl_put_bridge(struct nfulnl_instance *inst, const struct sk_buff *skb) argument
456 __build_packet_message(struct nfnl_log_net *log, struct nfulnl_instance *inst, const struct sk_buff *skb, unsigned int data_len, u_int8_t pf, unsigned int hooknum, const struct net_device *indev, const struct net_device *outdev, const char *prefix, unsigned int plen, const struct nfnl_ct_hook *nfnl_ct, struct nf_conn *ct, enum ip_conntrack_info ctinfo) argument
684 nfulnl_log_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *li_user, const char *prefix) argument
860 nfulnl_recv_unsupp(struct sk_buff *skb, const struct nfnl_info *info, const struct nlattr * const nfula[]) argument
882 nfulnl_recv_config(struct sk_buff *skb, const struct nfnl_info *info, const struct nlattr * const nfula[]) argument
[all...]
/linux-master/drivers/nfc/microread/
H A Dmicroread.c217 static int microread_xmit(struct nfc_hci_dev *hdev, struct sk_buff *skb) argument
221 return info->phy_ops->write(info->phy_id, skb);
357 static void microread_im_transceive_cb(void *context, struct sk_buff *skb, argument
365 if (skb->len == 0) {
366 kfree_skb(skb);
372 if (skb->data[skb->len - 1] != 0) {
374 skb->data[skb->len - 1]);
375 kfree_skb(skb);
397 microread_im_transceive(struct nfc_hci_dev *hdev, struct nfc_target *target, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) argument
455 microread_tm_send(struct nfc_hci_dev *hdev, struct sk_buff *skb) argument
468 microread_target_discovered(struct nfc_hci_dev *hdev, u8 gate, struct sk_buff *skb) argument
547 microread_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, struct sk_buff *skb) argument
[all...]
/linux-master/net/llc/
H A Dllc_if.c32 * @skb: packet to send
42 * This function always consumes a reference to the skb.
44 int llc_build_and_send_pkt(struct sock *sk, struct sk_buff *skb) argument
58 ev = llc_conn_ev(skb);
62 skb->dev = llc->dev;
63 return llc_conn_state_process(sk, skb);
66 kfree_skb(skb);
87 struct sk_buff *skb; local
105 skb = alloc_skb(0, GFP_ATOMIC);
106 if (skb) {
133 struct sk_buff *skb; local
[all...]
/linux-master/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c125 static int nf_ct_frag6_reasm(struct frag_queue *fq, struct sk_buff *skb,
165 static int nf_ct_frag6_queue(struct frag_queue *fq, struct sk_buff *skb, argument
179 payload_len = ntohs(ipv6_hdr(skb)->payload_len);
183 ((u8 *)(fhdr + 1) - (u8 *)(ipv6_hdr(skb) + 1)));
190 ecn = ip6_frag_ecn(ipv6_hdr(skb));
192 if (skb->ip_summed == CHECKSUM_COMPLETE) {
193 const unsigned char *nh = skb_network_header(skb);
194 skb->csum = csum_sub(skb->csum,
237 if (!pskb_pull(skb, (u
313 nf_ct_frag6_reasm(struct frag_queue *fq, struct sk_buff *skb, struct sk_buff *prev_tail, struct net_device *dev) argument
389 find_prev_fhdr(struct sk_buff *skb, u8 *prevhdrp, int *prevhoff, int *fhoff) argument
438 nf_ct_frag6_gather(struct net *net, struct sk_buff *skb, u32 user) argument
[all...]
/linux-master/net/tls/
H A Dtls_strp.c45 struct sk_buff *skb; local
48 skb = alloc_skb_with_frags(0, len, TLS_PAGE_ORDER,
50 if (!skb)
53 for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
54 skb_frag_t *frag = &skb_shinfo(skb)->frags[i];
62 skb->len = len;
63 skb->data_len = len;
64 skb_copy_header(skb, in_skb);
65 return skb;
68 /* Create a new skb wit
72 struct sk_buff *skb; local
99 struct sk_buff *skb; local
123 struct sk_buff *skb; local
150 struct sk_buff *skb; local
210 tls_strp_copyin_frag(struct tls_strparser *strp, struct sk_buff *skb, struct sk_buff *in_skb, unsigned int offset, size_t in_len) argument
280 tls_strp_copyin_skb(struct tls_strparser *strp, struct sk_buff *skb, struct sk_buff *in_skb, unsigned int offset, size_t in_len) argument
340 struct sk_buff *skb; local
430 struct sk_buff *first, *skb; local
[all...]
/linux-master/net/ipv6/
H A Dseg6_local.c65 int (*input)(struct sk_buff *skb, struct seg6_local_lwt *slwt);
216 static struct ipv6_sr_hdr *get_and_validate_srh(struct sk_buff *skb) argument
220 srh = seg6_get_srh(skb, IP6_FH_F_SKIP_RH);
225 if (!seg6_hmac_validate_skb(skb))
232 static bool decap_and_validate(struct sk_buff *skb, int proto) argument
237 srh = seg6_get_srh(skb, 0);
242 if (srh && !seg6_hmac_validate_skb(skb))
246 if (ipv6_find_hdr(skb, &off, proto, NULL, NULL) < 0)
249 if (!pskb_pull(skb, off))
252 skb_postpull_rcsum(skb, skb_network_heade
272 seg6_lookup_any_nexthop(struct sk_buff *skb, struct in6_addr *nhaddr, u32 tbl_id, bool local_delivery) argument
330 seg6_lookup_nexthop(struct sk_buff *skb, struct in6_addr *nhaddr, u32 tbl_id) argument
378 input_action_end_finish(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
386 input_action_end_core(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
404 end_next_csid_core(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
418 input_action_end_x_finish(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
426 input_action_end_x_core(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
444 end_x_next_csid_core(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
625 seg6_pop_srh(struct sk_buff *skb, int srhoff) argument
739 end_flv8986_core(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
793 input_action_end(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
814 input_action_end_x(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
826 input_action_end_t(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
846 input_action_end_dx2(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
902 input_action_end_dx6_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument
926 input_action_end_dx6(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
953 input_action_end_dx4_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument
979 input_action_end_dx4(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1076 end_dt_vrf_rcv(struct sk_buff *skb, u16 family, struct net_device *dev) argument
1110 end_dt_get_vrf_rcu(struct sk_buff *skb, struct seg6_end_dt_info *info) argument
1128 end_dt_vrf_core(struct sk_buff *skb, struct seg6_local_lwt *slwt, u16 family) argument
1174 input_action_end_dt4(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1255 input_action_end_dt6(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1304 input_action_end_dt46(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1328 input_action_end_b6(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1353 input_action_end_b6_encap(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1385 seg6_bpf_has_valid_srh(struct sk_buff *skb) argument
1408 input_action_end_bpf(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1599 seg6_local_input_core(struct net *net, struct sock *sk, struct sk_buff *skb) argument
1621 seg6_local_input(struct sk_buff *skb) argument
1677 put_nla_srh(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1718 put_nla_table(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1758 put_nla_vrftable(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1791 put_nla_nh4(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1818 put_nla_nh6(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1844 put_nla_iif(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1868 put_nla_oif(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
1923 put_nla_bpf(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
2000 seg6_local_fill_nla_counters(struct sk_buff *skb, struct seg6_local_counters *counters) argument
2018 put_nla_counters(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
2172 seg6_fill_nla_next_csid_cfg(struct sk_buff *skb, struct seg6_flavors_info *finfo) argument
2185 put_nla_flavors(struct sk_buff *skb, struct seg6_local_lwt *slwt) argument
2556 seg6_local_fill_encap(struct sk_buff *skb, struct lwtunnel_state *lwt) argument
[all...]
/linux-master/drivers/target/iscsi/cxgbit/
H A Dcxgbit_target.c29 struct sk_buff *skb = NULL; local
35 skb = alloc_skb_with_frags(hdr_len, len,
38 if (!skb)
41 skb_reserve(skb, TX_HDR_LEN);
42 skb_reset_transport_header(skb);
43 __skb_put(skb, ISCSI_HDR_LEN);
44 skb->data_len = len;
45 skb->len += len;
51 skb = alloc_skb(hdr_len + iso_len, GFP_KERNEL);
52 if (!skb)
79 cxgbit_is_ofld_imm(const struct sk_buff *skb) argument
112 cxgbit_calc_tx_flits_ofld(const struct sk_buff *skb) argument
128 cxgbit_cpl_tx_data_iso(struct sk_buff *skb, struct cxgbit_iso_info *iso_info) argument
159 cxgbit_tx_data_wr(struct cxgbit_sock *csk, struct sk_buff *skb, u32 dlen, u32 len, u32 credits, u32 compl) argument
196 cxgbit_arp_failure_skb_discard(void *handle, struct sk_buff *skb) argument
203 struct sk_buff *skb; local
289 struct sk_buff *skb; local
311 cxgbit_queue_skb(struct cxgbit_sock *csk, struct sk_buff *skb) argument
340 cxgbit_map_skb(struct iscsit_cmd *cmd, struct sk_buff *skb, u32 data_offset, u32 data_length) argument
397 struct sk_buff *skb; local
487 struct sk_buff *skb; local
537 struct sk_buff *skb; local
778 struct sk_buff *skb; local
811 cxgbit_skb_copy_to_sg(struct sk_buff *skb, struct scatterlist *sg, unsigned int nents, u32 skip) argument
1365 cxgbit_process_iscsi_pdu(struct cxgbit_sock *csk, struct sk_buff *skb, int idx) argument
1384 cxgbit_lro_skb_dump(struct sk_buff *skb) argument
1410 struct sk_buff *skb = csk->lro_hskb; local
1424 cxgbit_lro_skb_merge(struct cxgbit_sock *csk, struct sk_buff *skb, u8 pdu_idx) argument
1494 cxgbit_process_lro_skb(struct cxgbit_sock *csk, struct sk_buff *skb) argument
1534 cxgbit_t5_rx_lro_skb(struct cxgbit_sock *csk, struct sk_buff *skb) argument
1560 cxgbit_rx_lro_skb(struct cxgbit_sock *csk, struct sk_buff *skb) argument
1578 cxgbit_rx_skb(struct cxgbit_sock *csk, struct sk_buff *skb) argument
1608 struct sk_buff *skb; local
[all...]
/linux-master/net/vmw_vsock/
H A Dvirtio_transport_common.c72 struct sk_buff *skb,
95 skb_zcopy_init(skb, uarg);
100 static int virtio_transport_fill_skb(struct sk_buff *skb, argument
106 return __zerocopy_sg_from_iter(info->msg, NULL, skb,
110 return memcpy_from_msg(skb_put(skb, len), info->msg, len);
113 static void virtio_transport_init_hdr(struct sk_buff *skb, argument
123 hdr = virtio_vsock_hdr(skb);
136 static void virtio_transport_copy_nonlinear_skb(const struct sk_buff *skb, argument
151 to_copy = min_t(size_t, len, skb->len);
153 skb_copy_datagram_iter(skb, VIRTIO_VSOCK_SKB_C
71 virtio_transport_init_zcopy_skb(struct vsock_sock *vsk, struct sk_buff *skb, struct msghdr *msg, bool zerocopy) argument
163 struct sk_buff *skb; local
226 virtio_transport_deliver_tap_pkt(struct sk_buff *skb) argument
254 struct sk_buff *skb; local
380 struct sk_buff *skb; local
454 virtio_transport_inc_tx_pkt(struct virtio_vsock_sock *vvs, struct sk_buff *skb) argument
511 struct sk_buff *skb; local
559 struct sk_buff *skb; local
638 struct sk_buff *skb; local
699 struct sk_buff *skb; local
1093 virtio_transport_reset(struct vsock_sock *vsk, struct sk_buff *skb) argument
1112 virtio_transport_reset_no_sock(const struct virtio_transport *t, struct sk_buff *skb) argument
1262 virtio_transport_recv_connecting(struct sock *sk, struct sk_buff *skb) argument
1299 virtio_transport_recv_enqueue(struct vsock_sock *vsk, struct sk_buff *skb) argument
1357 virtio_transport_recv_connected(struct sock *sk, struct sk_buff *skb) argument
1408 virtio_transport_recv_disconnecting(struct sock *sk, struct sk_buff *skb) argument
1419 virtio_transport_send_response(struct vsock_sock *vsk, struct sk_buff *skb) argument
1434 virtio_transport_space_update(struct sock *sk, struct sk_buff *skb) argument
1461 virtio_transport_recv_listen(struct sock *sk, struct sk_buff *skb, struct virtio_transport *t) argument
1531 virtio_transport_recv_pkt(struct virtio_transport *t, struct sk_buff *skb) argument
1647 struct sk_buff *skb, *tmp; local
1675 struct sk_buff *skb; local
[all...]
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dsta_rx.c24 struct sk_buff *skb)
31 eth = (struct ethhdr *)skb->data;
34 arp = (void *)(skb->data + sizeof(struct ethhdr));
42 ipv6 = (void *)(skb->data + sizeof(struct ethhdr));
43 icmpv6 = (void *)(skb->data + sizeof(struct ethhdr) +
72 struct sk_buff *skb)
83 local_rx_pd = (struct rxpd *) (skb->data);
90 rx_pkt_off > skb->len) {
93 skb->len, rx_pkt_off);
95 dev_kfree_skb_any(skb);
23 mwifiex_discard_gratuitous_arp(struct mwifiex_private *priv, struct sk_buff *skb) argument
71 mwifiex_process_rx_packet(struct mwifiex_private *priv, struct sk_buff *skb) argument
189 mwifiex_process_sta_rx_packet(struct mwifiex_private *priv, struct sk_buff *skb) argument
[all...]
/linux-master/net/dccp/
H A Dipv4.c201 static void dccp_do_redirect(struct sk_buff *skb, struct sock *sk) argument
206 dst->ops->redirect(dst, sk, skb);
245 static int dccp_v4_err(struct sk_buff *skb, u32 info) argument
247 const struct iphdr *iph = (struct iphdr *)skb->data;
251 const int type = icmp_hdr(skb)->type;
252 const int code = icmp_hdr(skb)->code;
256 struct net *net = dev_net(skb->dev);
258 if (!pskb_may_pull(skb, offset + sizeof(*dh)))
260 dh = (struct dccp_hdr *)(skb->data + offset);
261 if (!pskb_may_pull(skb, offse
376 dccp_v4_csum_finish(struct sk_buff *skb, __be32 src, __be32 dst) argument
382 dccp_v4_send_check(struct sock *sk, struct sk_buff *skb) argument
394 dccp_v4_init_sequence(const struct sk_buff *skb) argument
408 dccp_v4_request_recv_sock(const struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct dst_entry *dst, struct request_sock *req_unhash, bool *own_req) argument
467 dccp_v4_route_skb(struct net *net, struct sock *sk, struct sk_buff *skb) argument
496 struct sk_buff *skb; local
530 struct sk_buff *skb; local
595 dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb) argument
672 dccp_v4_do_rcv(struct sock *sk, struct sk_buff *skb) argument
724 dccp_invalid_packet(struct sk_buff *skb) argument
794 dccp_v4_rcv(struct sk_buff *skb) argument
[all...]
H A Dipv6.c49 /* add pseudo-header to DCCP checksum stored in skb->csum */
50 static inline __sum16 dccp_v6_csum_finish(struct sk_buff *skb, argument
54 return csum_ipv6_magic(saddr, daddr, skb->len, IPPROTO_DCCP, skb->csum);
57 static inline void dccp_v6_send_check(struct sock *sk, struct sk_buff *skb) argument
60 struct dccp_hdr *dh = dccp_hdr(skb);
62 dccp_csum_outgoing(skb);
63 dh->dccph_checksum = dccp_v6_csum_finish(skb, &np->saddr, &sk->sk_v6_daddr);
66 static inline __u64 dccp_v6_init_sequence(struct sk_buff *skb) argument
68 return secure_dccpv6_sequence_number(ipv6_hdr(skb)
75 dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
201 struct sk_buff *skb; local
264 struct sk_buff *skb; local
320 dccp_v6_conn_request(struct sock *sk, struct sk_buff *skb) argument
414 dccp_v6_request_recv_sock(const struct sock *sk, struct sk_buff *skb, struct request_sock *req, struct dst_entry *dst, struct request_sock *req_unhash, bool *own_req) argument
581 dccp_v6_do_rcv(struct sock *sk, struct sk_buff *skb) argument
697 dccp_v6_rcv(struct sk_buff *skb) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt7603/
H A Ddma.c15 mt7603_rx_loopback_skb(struct mt7603_dev *dev, struct sk_buff *skb) argument
27 __le32 *txd = (__le32 *)skb->data;
37 if (skb->len < MT_TXD_SIZE + sizeof(struct ieee80211_hdr))
42 skb->priority = FIELD_GET(MT_TXD1_TID, val);
54 hdr = (struct ieee80211_hdr *)&skb->data[MT_TXD_SIZE];
62 skb_set_queue_mapping(skb, qid);
64 skb_set_queue_mapping(skb, IEEE80211_AC_BE);
67 skb_pull(skb, MT_TXD_SIZE);
68 if (!ieee80211_is_bufferable_mmpdu(skb))
70 skb_push(skb, MT_TXD_SIZ
95 mt7603_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, struct sk_buff *skb, u32 *info) argument
[all...]
/linux-master/drivers/net/wireguard/
H A Dsend.c141 static unsigned int calculate_skb_padding(struct sk_buff *skb) argument
143 unsigned int padded_size, last_unit = skb->len;
145 if (unlikely(!PACKET_CB(skb)->mtu))
154 if (unlikely(last_unit > PACKET_CB(skb)->mtu))
155 last_unit %= PACKET_CB(skb)->mtu;
157 padded_size = min(PACKET_CB(skb)->mtu,
162 static bool encrypt_packet(struct sk_buff *skb, struct noise_keypair *keypair) argument
173 skb_get_hash(skb);
176 padding_len = calculate_skb_padding(skb);
178 plaintext_len = skb
223 struct sk_buff *skb; local
244 struct sk_buff *skb, *next; local
291 struct sk_buff *first, *skb, *next; local
346 struct sk_buff *skb; local
[all...]
/linux-master/net/nfc/
H A Dllcp_commands.c303 /* XXX Add an skb length check */
316 struct sk_buff *skb; local
322 skb = nfc_alloc_send_skb(sock->dev, &sock->sk, MSG_DONTWAIT,
324 if (skb == NULL) {
329 skb = llcp_add_header(skb, sock->dsap, sock->ssap, cmd);
331 return skb;
336 struct sk_buff *skb; local
348 skb = llcp_allocate_pdu(sock, LLCP_PDU_DISC, 0);
349 if (skb
359 struct sk_buff *skb; local
395 struct sk_buff *skb; local
471 struct sk_buff *skb; local
529 struct sk_buff *skb; local
560 struct sk_buff *skb; local
584 struct sk_buff *skb; local
615 struct sk_buff *skb; local
795 struct sk_buff *skb; local
[all...]
/linux-master/include/net/
H A Ddst.h37 int (*output)(struct net *net, struct sock *sk, struct sk_buff *skb);
267 * skb_dst_drop - drops skb dst
268 * @skb: buffer
272 static inline void skb_dst_drop(struct sk_buff *skb) argument
274 if (skb->_skb_refdst) {
275 refdst_drop(skb->_skb_refdst);
276 skb->_skb_refdst = 0UL;
306 * skb_dst_force - makes sure skb dst is refcounted
307 * @skb: buffer
312 static inline bool skb_dst_force(struct sk_buff *skb) argument
338 __skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev, struct net *net) argument
363 skb_tunnel_rx(struct sk_buff *skb, struct net_device *dev, struct net *net) argument
371 dst_tclassid(const struct sk_buff *skb) argument
384 dst_discard(struct sk_buff *skb) argument
405 dst_neigh_lookup_skb(const struct dst_entry *dst, struct sk_buff *skb) argument
425 dst_link_failure(struct sk_buff *skb) argument
448 dst_output(struct net *net, struct sock *sk, struct sk_buff *skb) argument
458 dst_input(struct sk_buff *skb) argument
538 skb_dst_update_pmtu(struct sk_buff *skb, u32 mtu) argument
547 skb_dst_update_pmtu_no_confirm(struct sk_buff *skb, u32 mtu) argument
[all...]
H A Dgenetlink.h92 struct sk_buff *skb,
95 struct sk_buff *skb,
188 int (*doit)(struct sk_buff *skb, struct genl_info *info);
189 int (*dumpit)(struct sk_buff *skb, struct netlink_callback *cb);
210 int (*doit)(struct sk_buff *skb,
213 int (*dumpit)(struct sk_buff *skb,
253 struct sk_buff *skb,
255 int (*doit)(struct sk_buff *skb,
258 struct sk_buff *skb,
263 int (*dumpit)(struct sk_buff *skb,
336 __genlmsg_iput(struct sk_buff *skb, const struct genl_info *info, int flags) argument
356 genlmsg_iput(struct sk_buff *skb, const struct genl_info *info) argument
436 genlmsg_put_reply(struct sk_buff *skb, struct genl_info *info, const struct genl_family *family, int flags, u8 cmd) argument
450 genlmsg_end(struct sk_buff *skb, void *hdr) argument
460 genlmsg_cancel(struct sk_buff *skb, void *hdr) argument
482 genlmsg_multicast_netns_filtered(const struct genl_family *family, struct net *net, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags, netlink_filter_fn filter, void *filter_data) argument
504 genlmsg_multicast_netns(const struct genl_family *family, struct net *net, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument
520 genlmsg_multicast(const struct genl_family *family, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags) argument
548 genlmsg_unicast(struct net *net, struct sk_buff *skb, u32 portid) argument
558 genlmsg_reply(struct sk_buff *skb, struct genl_info *info) argument
[all...]
/linux-master/net/ieee802154/6lowpan/
H A Dreassembly.c33 static int lowpan_frag_reasm(struct lowpan_frag_queue *fq, struct sk_buff *skb,
85 struct sk_buff *skb, u8 frag_type)
91 /* inet_frag_queue_* functions use skb->cb; see struct ipfrag_skb_cb
100 offset = lowpan_802154_cb(skb)->d_offset << 3;
101 end = lowpan_802154_cb(skb)->d_size;
104 if (offset + skb->len == end) {
122 ldev = skb->dev;
124 skb->dev = NULL;
128 err = inet_frag_queue_insert(&fq->q, skb, offset, end);
132 fq->q.stamp = skb
84 lowpan_frag_queue(struct lowpan_frag_queue *fq, struct sk_buff *skb, u8 frag_type) argument
164 lowpan_frag_reasm(struct lowpan_frag_queue *fq, struct sk_buff *skb, struct sk_buff *prev_tail, struct net_device *ldev) argument
188 lowpan_frag_rx_handlers_result(struct sk_buff *skb, lowpan_rx_result res) argument
206 lowpan_frag_rx_h_iphc(struct sk_buff *skb) argument
220 lowpan_invoke_frag_rx_handlers(struct sk_buff *skb) argument
243 lowpan_get_cb(struct sk_buff *skb, u8 frag_type, struct lowpan_802154_cb *cb) argument
277 lowpan_frag_rcv(struct sk_buff *skb, u8 frag_type) argument
[all...]
/linux-master/include/net/bluetooth/
H A Dbluetooth.h442 u16 opcode, struct sk_buff *skb);
476 #define bt_cb(skb) ((struct bt_skb_cb *)((skb)->cb))
478 #define hci_skb_pkt_type(skb) bt_cb((skb))->pkt_type
479 #define hci_skb_pkt_status(skb) bt_cb((skb))->pkt_status
480 #define hci_skb_expect(skb) bt_cb((skb))->expect
481 #define hci_skb_opcode(skb) bt_c
487 struct sk_buff *skb; local
498 struct sk_buff *skb; local
529 struct sk_buff *skb; local
559 struct sk_buff *skb, **frag; local
[all...]
/linux-master/drivers/bluetooth/
H A Dbtintel.c65 struct sk_buff *skb; local
67 skb = __hci_cmd_sync(hdev, HCI_OP_READ_BD_ADDR, 0, NULL,
69 if (IS_ERR(skb)) {
70 int err = PTR_ERR(skb);
76 if (skb->len != sizeof(*bda)) {
78 kfree_skb(skb);
82 bda = (struct hci_rp_read_bd_addr *)skb->data;
95 kfree_skb(skb);
104 struct sk_buff *skb; local
106 skb
121 struct sk_buff *skb; local
145 struct sk_buff *skb; local
164 struct sk_buff *skb; local
183 struct sk_buff *skb; local
250 struct sk_buff *skb; local
351 struct sk_buff *skb; local
374 struct sk_buff *skb; local
436 struct sk_buff *skb; local
550 btintel_parse_version_tlv(struct hci_dev *hdev, struct intel_version_tlv *version, struct sk_buff *skb) argument
659 struct sk_buff *skb; local
716 struct sk_buff *skb; local
780 struct sk_buff *skb; local
883 struct sk_buff *skb; local
903 struct sk_buff *skb; local
1255 struct sk_buff *skb; local
1299 struct sk_buff *skb; local
1393 struct sk_buff *skb; local
1441 struct sk_buff *skb; local
1502 struct sk_buff *skb; local
1513 btintel_dmp_hdr(struct hci_dev *hdev, struct sk_buff *skb) argument
1598 struct sk_buff *skb; local
2396 struct sk_buff *skb; local
2431 struct sk_buff *skb; local
2718 struct sk_buff *skb; local
2834 struct sk_buff *skb; local
3088 struct sk_buff *skb; local
3137 btintel_diagnostics(struct hci_dev *hdev, struct sk_buff *skb) argument
3167 btintel_recv_event(struct hci_dev *hdev, struct sk_buff *skb) argument
[all...]
/linux-master/drivers/net/usb/
H A Dkalmia.c158 kalmia_tx_fixup(struct usbnet *dev, struct sk_buff *skb, gfp_t flags) argument
166 if (!skb_cloned(skb)) {
167 int headroom = skb_headroom(skb);
168 int tailroom = skb_tailroom(skb);
176 skb->data = memmove(skb->head + KALMIA_HEADER_LENGTH,
177 skb->data, skb->len);
178 skb_set_tail_pointer(skb, skb
223 kalmia_rx_fixup(struct usbnet *dev, struct sk_buff *skb) argument
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfd3/
H A Ddp.c67 * @skb: Pointer to SKB
75 struct nfp_nfd3_tx_desc *txd, struct sk_buff *skb, u32 md_bytes)
80 if (!skb_is_gso(skb))
83 if (!skb->encapsulation) {
84 l3_offset = skb_network_offset(skb);
85 l4_offset = skb_transport_offset(skb);
86 l4_hdrlen = (skb_shinfo(skb)->gso_type & SKB_GSO_UDP_L4) ?
87 sizeof(struct udphdr) : tcp_hdrlen(skb);
89 l3_offset = skb_inner_network_offset(skb);
90 l4_offset = skb_inner_transport_offset(skb);
74 nfp_nfd3_tx_tso(struct nfp_net_r_vector *r_vec, struct nfp_nfd3_tx_buf *txbuf, struct nfp_nfd3_tx_desc *txd, struct sk_buff *skb, u32 md_bytes) argument
123 nfp_nfd3_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, struct nfp_nfd3_tx_buf *txbuf, struct nfp_nfd3_tx_desc *txd, struct sk_buff *skb) argument
174 nfp_nfd3_prep_tx_meta(struct nfp_net_dp *dp, struct sk_buff *skb, u64 tls_handle, bool *ipsec) argument
255 nfp_nfd3_tx(struct sk_buff *skb, struct net_device *netdev) argument
444 struct sk_buff *skb; local
662 nfp_nfd3_rx_csum(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, const struct nfp_net_rx_desc *rxd, const struct nfp_meta_parsed *meta, struct sk_buff *skb) argument
811 nfp_nfd3_rx_drop(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, struct nfp_net_rx_ring *rx_ring, struct nfp_net_rx_buf *rxbuf, struct sk_buff *skb) argument
915 struct sk_buff *skb; local
1207 nfp_nfd3_ctrl_tx_one(struct nfp_net *nn, struct nfp_net_r_vector *r_vec, struct sk_buff *skb, bool old) argument
1292 struct sk_buff *skb; local
1325 struct sk_buff *skb; local
[all...]
/linux-master/net/bridge/
H A Dbr_stp_bpdu.c30 struct sk_buff *skb)
32 return dev_queue_xmit(skb);
38 struct sk_buff *skb; local
40 skb = dev_alloc_skb(length+LLC_RESERVE);
41 if (!skb)
44 skb->dev = p->dev;
45 skb->protocol = htons(ETH_P_802_2);
46 skb->priority = TC_PRIO_CONTROL;
48 skb_reserve(skb, LLC_RESERVE);
49 __skb_put_data(skb, dat
29 br_send_bpdu_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument
147 br_stp_rcv(const struct stp_proto *proto, struct sk_buff *skb, struct net_device *dev) argument
[all...]
/linux-master/net/can/j1939/
H A Daddress-claim.c32 static inline name_t j1939_skb_to_name(const struct sk_buff *skb) argument
34 return le64_to_cpup((__le64 *)skb->data);
37 static inline bool j1939_ac_msg_is_request(struct sk_buff *skb) argument
39 struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb);
42 if (skb->len < 3 || skcb->addr.pgn != J1939_PGN_REQUEST)
45 req_pgn = skb->data[0] | (skb->data[1] << 8) | (skb->data[2] << 16);
51 struct sk_buff *skb)
53 struct j1939_sk_buff_cb *skcb = j1939_skb_to_cb(skb);
50 j1939_ac_verify_outgoing(struct j1939_priv *priv, struct sk_buff *skb) argument
79 j1939_ac_fixup(struct j1939_priv *priv, struct sk_buff *skb) argument
126 j1939_ac_process(struct j1939_priv *priv, struct sk_buff *skb) argument
247 j1939_ac_recv(struct j1939_priv *priv, struct sk_buff *skb) argument
[all...]

Completed in 214 milliseconds

<<11121314151617181920>>