Searched refs:skb (Results 251 - 275 of 3425) sorted by last modified time

<<11121314151617181920>>

/linux-master/net/bpf/
H A Dtest_run.c268 struct sk_buff *skb = skbs[i]; local
270 skb = __xdp_build_skb_from_frame(xdpf, skb, dev);
271 if (!skb) {
276 list_add_tail(&skb->list, &list);
865 static int convert___skb_to_skb(struct sk_buff *skb, struct __sk_buff *__skb) argument
867 struct qdisc_skb_cb *cb = (struct qdisc_skb_cb *)skb->cb;
916 skb->mark = __skb->mark;
917 skb->priority = __skb->priority;
918 skb
940 convert_skb_to___skb(struct sk_buff *skb, struct __sk_buff *__skb) argument
975 struct sk_buff *skb; local
1602 struct sk_buff *skb = NULL; local
[all...]
/linux-master/net/bluetooth/
H A Dsco.c312 static int sco_send_frame(struct sock *sk, struct sk_buff *skb) argument
315 int len = skb->len;
323 hci_send_sco(conn->hcon, skb);
328 static void sco_recv_frame(struct sco_conn *conn, struct sk_buff *skb) argument
339 BT_DBG("sk %p len %u", sk, skb->len);
344 if (!sock_queue_rcv_skb(sk, skb))
348 kfree_skb(skb);
726 struct sk_buff *skb; local
738 skb = bt_skb_sendmsg(sk, msg, len, len, 0, 0);
739 if (IS_ERR(skb))
1377 sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) argument
[all...]
H A Dmgmt.c344 static int mgmt_event_skb(struct sk_buff *skb, struct sock *skip_sk) argument
346 return mgmt_send_event_skb(HCI_CHANNEL_CONTROL, skb, HCI_SOCK_TRUSTED,
3929 struct sk_buff *skb = cmd->skb; local
3936 if (!skb)
3938 else if (IS_ERR(skb))
3939 status = mgmt_status(PTR_ERR(skb));
3941 status = mgmt_status(skb->data[0]);
3957 if (skb && !IS_ERR(skb))
5505 struct sk_buff *skb = cmd->skb; local
8016 struct sk_buff *skb = cmd->skb; local
9596 struct sk_buff *skb; local
10116 mgmt_send_adv_monitor_device_found(struct hci_dev *hdev, struct sk_buff *skb, struct sock *skip_sk, u16 handle) argument
10146 mgmt_adv_monitor_device_found(struct hci_dev *hdev, bdaddr_t *bdaddr, bool report_device, struct sk_buff *skb, struct sock *skip_sk) argument
10215 struct sk_buff *skb; local
10281 struct sk_buff *skb; local
10371 struct sk_buff *skb; local
[all...]
H A Dl2cap_sock.c1213 if (__sock_queue_rcv_skb(sk, rx_busy->skb) < 0)
1482 static int l2cap_sock_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb) argument
1502 err = sk_filter(sk, skb);
1507 err = __sock_queue_rcv_skb(sk, skb);
1511 /* For ERTM and LE, handle a skb that doesn't fit into the recv
1513 * have already been acked, so the skb cannot be discarded.
1530 rx_busy->skb = skb;
1622 struct sk_buff *skb; local
1626 skb
1724 l2cap_sock_filter(struct l2cap_chan *chan, struct sk_buff *skb) argument
1776 l2cap_skb_msg_name(struct sk_buff *skb, void *msg_name, int *msg_namelen) argument
[all...]
H A Dl2cap_core.c305 struct sk_buff *skb; local
307 skb_queue_walk(head, skb) {
308 if (bt_cb(skb)->l2cap.txseq == seq)
309 return skb;
954 struct sk_buff *skb = l2cap_build_cmd(conn, code, ident, len, data); local
959 if (!skb)
970 bt_cb(skb)->force_active = BT_POWER_FORCE_ACTIVE_ON;
971 skb->priority = HCI_PRIO_MAX;
973 hci_send_acl(conn->hchan, skb, flags);
976 static void l2cap_do_send(struct l2cap_chan *chan, struct sk_buff *skb) argument
1047 __unpack_control(struct l2cap_chan *chan, struct sk_buff *skb) argument
1099 __pack_control(struct l2cap_chan *chan, struct l2cap_ctrl *control, struct sk_buff *skb) argument
1123 struct sk_buff *skb; local
1156 struct sk_buff *skb; local
1926 struct sk_buff *skb; local
1961 struct sk_buff *skb, *tx_skb; local
2029 struct sk_buff *skb; local
2116 struct sk_buff *skb; local
2197 l2cap_skbuff_fromiovec(struct l2cap_chan *chan, struct msghdr *msg, int len, int count, struct sk_buff *skb) argument
2245 struct sk_buff *skb; local
2277 struct sk_buff *skb; local
2308 struct sk_buff *skb; local
2361 struct sk_buff *skb; local
2428 struct sk_buff *skb; local
2470 struct sk_buff *skb; local
2520 struct sk_buff *skb; local
2912 l2cap_raw_recv(struct l2cap_conn *conn, struct sk_buff *skb) argument
2943 struct sk_buff *skb, **frag; local
5470 l2cap_le_sig_channel(struct l2cap_conn *conn, struct sk_buff *skb) argument
5519 l2cap_sig_channel(struct l2cap_conn *conn, struct sk_buff *skb) argument
5567 l2cap_check_fcs(struct l2cap_chan *chan, struct sk_buff *skb) argument
5622 append_skb_frag(struct sk_buff *skb, struct sk_buff *new_frag, struct sk_buff **last_frag) argument
5641 l2cap_reassemble_sdu(struct l2cap_chan *chan, struct sk_buff *skb, struct l2cap_ctrl *control) argument
5753 struct sk_buff *skb; local
5780 struct sk_buff *skb; local
5838 struct sk_buff *skb; local
5958 l2cap_rx_state_recv(struct l2cap_chan *chan, struct l2cap_ctrl *control, struct sk_buff *skb, u8 event) argument
6110 l2cap_rx_state_srej_sent(struct l2cap_chan *chan, struct l2cap_ctrl *control, struct sk_buff *skb, u8 event) argument
6263 l2cap_rx_state_wait_p(struct l2cap_chan *chan, struct l2cap_ctrl *control, struct sk_buff *skb, u8 event) argument
6301 l2cap_rx_state_wait_f(struct l2cap_chan *chan, struct l2cap_ctrl *control, struct sk_buff *skb, u8 event) argument
6344 l2cap_rx(struct l2cap_chan *chan, struct l2cap_ctrl *control, struct sk_buff *skb, u8 event) argument
6381 l2cap_stream_rx(struct l2cap_chan *chan, struct l2cap_ctrl *control, struct sk_buff *skb) argument
6433 l2cap_data_rcv(struct l2cap_chan *chan, struct sk_buff *skb) argument
6562 l2cap_ecred_recv(struct l2cap_chan *chan, struct sk_buff *skb) argument
6583 l2cap_ecred_data_rcv(struct l2cap_chan *chan, struct sk_buff *skb) argument
6688 l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk_buff *skb) argument
6754 l2cap_conless_channel(struct l2cap_conn *conn, __le16 psm, struct sk_buff *skb) argument
6791 l2cap_recv_frame(struct l2cap_conn *conn, struct sk_buff *skb) argument
6850 struct sk_buff *skb; local
7417 l2cap_recv_frag(struct l2cap_conn *conn, struct sk_buff *skb, u16 len) argument
7438 l2cap_recv_len(struct l2cap_conn *conn, struct sk_buff *skb) argument
7480 l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags) argument
[all...]
H A Diso.c463 static int iso_send_frame(struct sock *sk, struct sk_buff *skb) argument
470 BT_DBG("sk %p len %d", sk, skb->len);
472 if (skb->len > qos->ucast.out.sdu)
475 len = skb->len;
478 hdr = skb_push(skb, HCI_ISO_DATA_HDR_SIZE);
484 hci_send_iso(conn->hcon, skb);
491 static void iso_recv_frame(struct iso_conn *conn, struct sk_buff *skb) argument
502 BT_DBG("sk %p len %d", sk, skb->len);
507 if (!sock_queue_rcv_skb(sk, skb))
511 kfree_skb(skb);
1241 struct sk_buff *skb, **frag; local
2093 iso_recv(struct hci_conn *hcon, struct sk_buff *skb, u16 flags) argument
[all...]
H A Dhci_sync.c25 struct sk_buff *skb)
39 if (skb) {
40 struct sock *sk = hci_skb_sk(skb);
46 hdev->req_rsp = skb_get(skb);
58 struct sk_buff *skb; local
60 skb = bt_skb_alloc(len, GFP_ATOMIC);
61 if (!skb)
64 hdr = skb_put(skb, HCI_COMMAND_HDR_SIZE);
69 skb_put_data(skb, param, plen);
71 bt_dev_dbg(hdev, "skb le
24 hci_cmd_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, struct sk_buff *skb) argument
91 struct sk_buff *skb; local
120 struct sk_buff *skb; local
156 struct sk_buff *skb; local
220 struct sk_buff *skb; local
249 struct sk_buff *skb; local
[all...]
H A Dhci_sock.c165 static bool is_filtered_packet(struct sock *sk, struct sk_buff *skb) argument
173 flt_type = hci_skb_pkt_type(skb) & HCI_FLT_TYPE_BITS;
179 if (hci_skb_pkt_type(skb) != HCI_EVENT_PKT)
182 flt_event = (*(__u8 *)skb->data & HCI_FLT_EVENT_BITS);
192 flt->opcode != get_unaligned((__le16 *)(skb->data + 3)))
196 flt->opcode != get_unaligned((__le16 *)(skb->data + 4)))
203 void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb) argument
208 BT_DBG("hdev %p len %d", hdev, skb->len);
219 if (skb->sk == sk)
223 if (hci_skb_pkt_type(skb) !
267 hci_sock_copy_creds(struct sock *sk, struct sk_buff *skb) argument
298 hci_skb_clone(struct sk_buff *skb) argument
315 __hci_send_to_channel(unsigned short channel, struct sk_buff *skb, int flag, struct sock *skip_sk) argument
349 hci_send_to_channel(unsigned short channel, struct sk_buff *skb, int flag, struct sock *skip_sk) argument
358 hci_send_to_monitor(struct hci_dev *hdev, struct sk_buff *skb) argument
435 struct sk_buff *skb; local
478 struct sk_buff *skb; local
555 struct sk_buff *skb; local
615 struct sk_buff *skb; local
657 struct sk_buff *skb; local
686 struct sk_buff *skb; local
722 struct sk_buff *skb; local
764 struct sk_buff *skb; local
782 struct sk_buff *skb; local
809 struct sk_buff *skb; local
898 struct sk_buff *skb; local
1087 struct sk_buff *skb; local
1187 struct sk_buff *skb; local
1512 hci_sock_cmsg(struct sock *sk, struct msghdr *msg, struct sk_buff *skb) argument
1554 struct sk_buff *skb; local
1610 hci_mgmt_cmd(struct hci_mgmt_chan *chan, struct sock *sk, struct sk_buff *skb) argument
1725 hci_logging_frame(struct sock *sk, struct sk_buff *skb, unsigned int flags) argument
1797 struct sk_buff *skb; local
[all...]
H A Dhci_event.c50 static void *hci_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, argument
55 data = skb_pull_data(skb, len);
62 static void *hci_cc_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, argument
67 data = skb_pull_data(skb, len);
74 static void *hci_le_ev_skb_pull(struct hci_dev *hdev, struct sk_buff *skb, argument
79 data = skb_pull_data(skb, len);
87 struct sk_buff *skb)
125 struct sk_buff *skb)
140 struct sk_buff *skb)
155 struct sk_buff *skb)
86 hci_cc_inquiry_cancel(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
124 hci_cc_periodic_inq(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
139 hci_cc_exit_periodic_inq(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
154 hci_cc_remote_name_req_cancel(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
164 hci_cc_role_discovery(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
186 hci_cc_read_link_policy(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
208 hci_cc_write_link_policy(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
235 hci_cc_read_def_link_policy(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
250 hci_cc_write_def_link_policy(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
270 hci_cc_reset(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
305 hci_cc_read_stored_link_key(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
325 hci_cc_delete_stored_link_key(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
346 hci_cc_write_local_name(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
370 hci_cc_read_local_name(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
387 hci_cc_write_auth_enable(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
418 hci_cc_write_encrypt_mode(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
444 hci_cc_write_scan_enable(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
482 hci_cc_set_event_filter(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
508 hci_cc_read_class_of_dev(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
529 hci_cc_write_class_of_dev(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
554 hci_cc_read_voice_setting(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
580 hci_cc_write_voice_setting(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
611 hci_cc_read_num_supported_iac(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
628 hci_cc_write_ssp_mode(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
661 hci_cc_write_sc_support(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
694 hci_cc_read_local_version(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
716 hci_cc_read_enc_key_size(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
771 hci_cc_read_local_commands(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
788 hci_cc_read_auth_payload_timeout(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
810 hci_cc_write_auth_payload_timeout(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
840 hci_cc_read_local_features(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
892 hci_cc_read_local_ext_features(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
916 hci_cc_read_buffer_size(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
948 hci_cc_read_bd_addr(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
967 hci_cc_read_local_pairing_opts(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
986 hci_cc_read_page_scan_activity(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1004 hci_cc_write_page_scan_activity(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1025 hci_cc_read_page_scan_type(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1041 hci_cc_write_page_scan_type(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1059 hci_cc_read_clock(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1093 hci_cc_read_inq_rsp_tx_power(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1108 hci_cc_read_def_err_data_reporting(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1123 hci_cc_write_def_err_data_reporting(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1143 hci_cc_pin_code_reply(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1173 hci_cc_pin_code_neg_reply(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1191 hci_cc_le_read_buffer_size(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1214 hci_cc_le_read_local_features(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1229 hci_cc_le_read_adv_tx_power(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1244 hci_cc_user_confirm_reply(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1262 hci_cc_user_confirm_neg_reply(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1280 hci_cc_user_passkey_reply(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1298 hci_cc_user_passkey_neg_reply(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1316 hci_cc_read_local_oob_data(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1326 hci_cc_read_local_oob_ext_data(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1336 hci_cc_le_set_random_addr(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1366 hci_cc_le_set_default_phy(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1391 hci_cc_le_set_adv_set_random_addr(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1429 hci_cc_le_remove_adv_set(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1457 hci_cc_le_clear_adv_sets(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1488 hci_cc_le_read_transmit_power(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1504 hci_cc_le_set_privacy_mode(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1531 hci_cc_le_set_adv_enable(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1570 hci_cc_le_set_ext_adv_enable(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1635 hci_cc_le_set_scan_param(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1659 hci_cc_le_set_ext_scan_param(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1773 hci_cc_le_set_scan_enable(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1793 hci_cc_le_set_ext_scan_enable(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1813 hci_cc_le_read_num_adv_sets(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1829 hci_cc_le_read_accept_list_size(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1844 hci_cc_le_clear_accept_list(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1861 hci_cc_le_add_to_accept_list(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1884 hci_cc_le_del_from_accept_list(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1907 hci_cc_le_read_supported_states(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1922 hci_cc_le_read_def_data_len(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1938 hci_cc_le_write_def_data_len(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1959 hci_cc_le_add_to_resolv_list(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
1983 hci_cc_le_del_from_resolv_list(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2006 hci_cc_le_clear_resolv_list(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2023 hci_cc_le_read_resolv_list_size(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2038 hci_cc_le_set_addr_resolution_enable(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2065 hci_cc_le_read_max_data_len(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2083 hci_cc_write_le_host_supported(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2119 hci_cc_set_adv_param(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2141 hci_cc_set_ext_adv_param(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2175 hci_cc_read_rssi(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2197 hci_cc_read_tx_power(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2233 hci_cc_write_ssp_debug_mode(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
2964 hci_inquiry_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3023 hci_inquiry_result_evt(struct hci_dev *hdev, void *edata, struct sk_buff *skb) argument
3067 hci_conn_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3230 hci_conn_request_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3354 hci_disconn_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3439 hci_auth_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3503 hci_remote_name_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3544 hci_encrypt_change_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3656 hci_change_link_key_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3679 hci_remote_features_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3747 hci_cc_le_read_buffer_size_v2(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3790 hci_cc_le_set_cig_params(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3855 hci_cc_le_setup_iso_path(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3911 hci_cc_set_per_adv_param(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
3930 hci_cc_le_set_per_adv_enable(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4163 hci_cc_func(struct hci_dev *hdev, const struct hci_cc *cc, struct sk_buff *skb) argument
4189 hci_cmd_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb, u16 *opcode, u8 *status, hci_req_complete_t *req_complete, hci_req_complete_skb_t *req_complete_skb) argument
4310 hci_cmd_status_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb, u16 *opcode, u8 *status, hci_req_complete_t *req_complete, hci_req_complete_skb_t *req_complete_skb) argument
4352 hci_hardware_error_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4364 hci_role_change_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4387 hci_num_comp_pkts_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4464 hci_mode_change_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4493 hci_pin_code_request_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4564 hci_link_key_request_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4622 hci_link_key_notify_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4692 hci_clock_offset_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4716 hci_pkt_type_change_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4733 hci_pscan_rep_mode_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4752 hci_inquiry_result_with_rssi_evt(struct hci_dev *hdev, void *edata, struct sk_buff *skb) argument
4839 hci_remote_ext_features_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
4904 hci_sync_conn_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5034 hci_extended_inquiry_result_evt(struct hci_dev *hdev, void *edata, struct sk_buff *skb) argument
5089 hci_key_refresh_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5199 hci_io_capa_request_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5272 hci_io_capa_reply_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5293 hci_user_confirm_request_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5378 hci_user_passkey_request_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5389 hci_user_passkey_notify_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5410 hci_keypress_notify_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5449 hci_simple_pair_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5480 hci_remote_host_features_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5502 hci_remote_oob_data_request_evt(struct hci_dev *hdev, void *edata, struct sk_buff *skb) argument
5780 hci_le_conn_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5794 hci_le_enh_conn_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5808 hci_le_ext_adv_term_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
5878 hci_le_conn_update_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6203 hci_le_adv_report_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6287 hci_le_ext_adv_report_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6338 hci_le_pa_sync_estabilished_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6381 hci_le_per_adv_report_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6420 hci_le_remote_feat_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6462 hci_le_ltk_request_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6539 hci_le_remote_conn_param_req_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6603 hci_le_direct_adv_report_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6631 hci_le_phy_update_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6655 hci_le_cis_estabilished_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6758 hci_le_cis_req_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6817 hci_le_create_big_complete_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6875 hci_le_big_sync_established_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
6938 hci_le_big_info_adv_report_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) argument
7066 hci_le_meta_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb, u16 *opcode, u8 *status, hci_req_complete_t *req_complete, hci_req_complete_skb_t *req_complete_skb) argument
7109 hci_get_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 event, struct sk_buff *skb) argument
7153 hci_store_wake_reason(struct hci_dev *hdev, u8 event, struct sk_buff *skb) argument
7383 hci_event_func(struct hci_dev *hdev, u8 event, struct sk_buff *skb, u16 *opcode, u8 *status, hci_req_complete_t *req_complete, hci_req_complete_skb_t *req_complete_skb) argument
7420 hci_event_packet(struct hci_dev *hdev, struct sk_buff *skb) argument
[all...]
H A Dhci_request.h48 struct sk_buff *skb);
H A Dhci_core.c2931 struct sk_buff *skb; local
2933 skb = bt_skb_alloc(3, GFP_ATOMIC);
2934 if (!skb)
2937 hci_skb_pkt_type(skb) = HCI_EVENT_PKT;
2938 skb_put_data(skb, hw_err, 3);
2943 return hci_recv_frame(hdev, skb);
2948 int hci_recv_frame(struct hci_dev *hdev, struct sk_buff *skb) argument
2952 kfree_skb(skb);
2956 switch (hci_skb_pkt_type(skb)) {
2962 __u16 handle = __le16_to_cpu(hci_acl_hdr(skb)
2993 hci_recv_diag(struct hci_dev *hdev, struct sk_buff *skb) argument
3056 hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) argument
3096 struct sk_buff *skb; local
3120 struct sk_buff *skb; local
3149 hci_cmd_data(struct sk_buff *skb, __u16 opcode) argument
3210 hci_add_acl_hdr(struct sk_buff *skb, __u16 handle, __u16 flags) argument
3222 hci_queue_acl(struct hci_chan *chan, struct sk_buff_head *queue, struct sk_buff *skb, __u16 flags) argument
3274 hci_send_acl(struct hci_chan *chan, struct sk_buff *skb, __u16 flags) argument
3286 hci_send_sco(struct hci_conn *conn, struct sk_buff *skb) argument
3307 hci_add_iso_hdr(struct sk_buff *skb, __u16 handle, __u8 flags) argument
3319 hci_queue_iso(struct hci_conn *conn, struct sk_buff_head *queue, struct sk_buff *skb) argument
3364 hci_send_iso(struct hci_conn *conn, struct sk_buff *skb) argument
3503 struct sk_buff *skb; local
3563 struct sk_buff *skb; local
3618 struct sk_buff *skb; local
3641 struct sk_buff *skb; local
3666 struct sk_buff *skb; local
3718 struct sk_buff *skb; local
3769 struct sk_buff *skb; local
3795 struct sk_buff *skb; local
3817 hci_acldata_packet(struct hci_dev *hdev, struct sk_buff *skb) argument
3853 hci_scodata_packet(struct hci_dev *hdev, struct sk_buff *skb) argument
3887 hci_isodata_packet(struct hci_dev *hdev, struct sk_buff *skb) argument
3926 struct sk_buff *skb; local
3938 struct sk_buff *skb; local
3961 struct sk_buff *skb; local
4027 struct sk_buff *skb; local
4099 hci_send_cmd_sync(struct hci_dev *hdev, struct sk_buff *skb) argument
4132 struct sk_buff *skb; local
[all...]
H A D6lowpan.c36 #define lowpan_cb(skb) ((struct skb_cb *)((skb)->cb))
134 struct sk_buff *skb)
136 struct rt6_info *rt = dst_rt6_info(skb_dst(skb));
145 if (ipv6_addr_any(&lowpan_cb(skb)->gw)) {
153 nexthop = &lowpan_cb(skb)->gw;
162 memcpy(&lowpan_cb(skb)->gw, nexthop, sizeof(struct in6_addr));
235 static int give_skb_to_upper(struct sk_buff *skb, struct net_device *dev) argument
239 skb_cp = skb_copy(skb, GFP_ATOMIC);
246 static int iphc_decompress(struct sk_buff *skb, struc argument
132 peer_lookup_dst(struct lowpan_btle_dev *dev, struct in6_addr *daddr, struct sk_buff *skb) argument
256 recv_pkt(struct sk_buff *skb, struct net_device *dev, struct lowpan_peer *peer) argument
344 chan_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb) argument
367 setup_header(struct sk_buff *skb, struct net_device *netdev, bdaddr_t *peer_addr, u8 *peer_addr_type) argument
417 header_create(struct sk_buff *skb, struct net_device *netdev, unsigned short type, const void *_daddr, const void *_saddr, unsigned int len) argument
428 send_pkt(struct l2cap_chan *chan, struct sk_buff *skb, struct net_device *netdev) argument
459 send_mcast_pkt(struct sk_buff *skb, struct net_device *netdev) argument
498 bt_xmit(struct sk_buff *skb, struct net_device *netdev) argument
[all...]
/linux-master/net/batman-adv/
H A Dtranslation-table.c589 * @mark: the value contained in the skb->mark field of the received packet (if
755 /* check the mark in the skb: if it's equal to the configured
1125 struct net *net = sock_net(cb->skb->sk);
1134 int portid = NETLINK_CB(cb->skb).portid;
1900 struct net *net = sock_net(cb->skb->sk);
1911 int portid = NETLINK_CB(cb->skb).portid;
H A Dsoft-interface.c56 * @skb: packet buffer which should be modified
61 int batadv_skb_head_push(struct sk_buff *skb, unsigned int len) argument
68 * or write any data which is before the current position of skb->data
72 result = skb_cow_head(skb, len);
76 skb_push(skb, len);
180 static netdev_tx_t batadv_interface_tx(struct sk_buff *skb, argument
195 int data_len = skb->len, ret;
210 memset(skb->cb, 0, sizeof(struct batadv_skb_cb));
213 vid = batadv_get_vid(skb, 0);
215 skb_reset_mac_header(skb);
415 batadv_interface_rx(struct net_device *soft_iface, struct sk_buff *skb, int hdr_size, struct batadv_orig_node *orig_node) argument
[all...]
H A Doriginator.c731 struct net *net = sock_net(cb->skb->sk);
1318 struct net *net = sock_net(cb->skb->sk);
H A Dnetlink.c403 * @skb: Netlink message with request data
408 static int batadv_netlink_get_mesh(struct sk_buff *skb, struct genl_info *info) argument
432 * @skb: Netlink message with request data
437 static int batadv_netlink_set_mesh(struct sk_buff *skb, struct genl_info *info) argument
700 * @skb: received netlink message
706 batadv_netlink_tp_meter_start(struct sk_buff *skb, struct genl_info *info) argument
757 * @skb: received netlink message
763 batadv_netlink_tp_meter_cancel(struct sk_buff *skb, struct genl_info *info) argument
885 * @skb: Netlink message with request data
890 static int batadv_netlink_get_hardif(struct sk_buff *skb, argument
923 batadv_netlink_set_hardif(struct sk_buff *skb, struct genl_info *info) argument
1105 batadv_netlink_get_vlan(struct sk_buff *skb, struct genl_info *info) argument
1135 batadv_netlink_set_vlan(struct sk_buff *skb, struct genl_info *info) argument
1268 batadv_pre_doit(const struct genl_split_ops *ops, struct sk_buff *skb, struct genl_info *info) argument
1334 batadv_post_doit(const struct genl_split_ops *ops, struct sk_buff *skb, struct genl_info *info) argument
[all...]
H A Dmain.c69 static int (*batadv_rx_handler[256])(struct sk_buff *skb,
353 * batadv_skb_set_priority() - sets skb priority according to packet content
354 * @skb: the packet to be sent
360 void batadv_skb_set_priority(struct sk_buff *skb, int offset) argument
369 if (skb->priority >= 256 && skb->priority <= 263)
372 ethhdr = skb_header_pointer(skb, offset, sizeof(*ethhdr), &ethhdr_tmp);
378 vhdr = skb_header_pointer(skb, offset + sizeof(*vhdr),
386 ip_hdr = skb_header_pointer(skb, offset + sizeof(*ethhdr),
393 ip6_hdr = skb_header_pointer(skb, offse
406 batadv_recv_unhandled_packet(struct sk_buff *skb, struct batadv_hard_iface *recv_if) argument
427 batadv_batman_skb_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument
597 batadv_skb_crc32(struct sk_buff *skb, u8 *payload_ptr) argument
626 batadv_get_vid(struct sk_buff *skb, size_t header_len) argument
[all...]
H A Dmain.h245 void batadv_skb_set_priority(struct sk_buff *skb, int offset);
246 int batadv_batman_skb_recv(struct sk_buff *skb, struct net_device *dev,
254 __be32 batadv_skb_crc32(struct sk_buff *skb, u8 *payload_ptr);
369 * BATADV_SKB_CB() - Get batadv_skb_cb from skb control buffer
370 * @__skb: skb holding the control buffer
375 * Return: pointer to the batadv_skb_cb of the skb
379 unsigned short batadv_get_vid(struct sk_buff *skb, size_t header_len);
/linux-master/net/atm/
H A Dcommon.c176 struct sk_buff *skb; local
186 while ((skb = skb_dequeue(&sk->sk_receive_queue)) != NULL) {
187 atm_return(vcc, skb->truesize);
188 kfree_skb(skb);
228 struct sk_buff *skb, *tmp; local
238 skb_queue_walk_safe(&queue, skb, tmp) {
239 __skb_unlink(skb, &queue);
240 vcc->push(vcc, skb);
527 struct sk_buff *skb; local
543 skb
573 struct sk_buff *skb; local
[all...]
H A Dclip.c56 struct sk_buff *skb; local
61 skb = alloc_skb(sizeof(struct atmarp_ctrl), GFP_ATOMIC);
62 if (!skb)
64 ctrl = skb_put(skb, sizeof(struct atmarp_ctrl));
68 atm_force_charge(atmarpd, skb->truesize);
71 skb_queue_tail(&sk->sk_receive_queue, skb);
142 struct sk_buff *skb; local
147 while ((skb = skb_dequeue(&n->arp_queue)) != NULL)
148 dev_kfree_skb(skb);
165 static int clip_arp_rcv(struct sk_buff *skb) argument
190 clip_push(struct atm_vcc *vcc, struct sk_buff *skb) argument
245 clip_pop(struct atm_vcc *vcc, struct sk_buff *skb) argument
266 clip_neigh_solicit(struct neighbour *neigh, struct sk_buff *skb) argument
274 clip_neigh_error(struct neighbour *neigh, struct sk_buff *skb) argument
328 clip_start_xmit(struct sk_buff *skb, struct net_device *dev) argument
[all...]
/linux-master/net/8021q/
H A Dvlan_netlink.c220 static int vlan_fill_info(struct sk_buff *skb, const struct net_device *dev) argument
229 if (nla_put_be16(skb, IFLA_VLAN_PROTOCOL, vlan->vlan_proto) ||
230 nla_put_u16(skb, IFLA_VLAN_ID, vlan->vlan_id))
235 if (nla_put(skb, IFLA_VLAN_FLAGS, sizeof(f), &f))
239 nest = nla_nest_start_noflag(skb, IFLA_VLAN_INGRESS_QOS);
249 if (nla_put(skb, IFLA_VLAN_QOS_MAPPING,
253 nla_nest_end(skb, nest);
257 nest = nla_nest_start_noflag(skb, IFLA_VLAN_EGRESS_QOS);
269 if (nla_put(skb, IFLA_VLAN_QOS_MAPPING,
274 nla_nest_end(skb, nes
[all...]
H A Dvlan_dev.c11 * - reset skb->pkt_type on incoming packets when MAC was changed
45 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, argument
57 vhdr = skb_push(skb, VLAN_HLEN);
60 vlan_tci |= vlan_dev_get_egress_qos_mask(dev, skb->priority);
72 skb->protocol = vlan->vlan_proto;
83 rc = dev_hard_header(skb, dev, type, daddr, saddr, len + vhdrlen);
89 static inline netdev_tx_t vlan_netpoll_send_skb(struct vlan_dev_priv *vlan, struct sk_buff *skb) argument
92 return netpoll_send_skb(vlan->netpoll, skb);
99 static netdev_tx_t vlan_dev_hard_start_xmit(struct sk_buff *skb, argument
103 struct vlan_ethhdr *veth = (struct vlan_ethhdr *)(skb
507 vlan_parse_protocol(const struct sk_buff *skb) argument
520 vlan_passthru_hard_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len) argument
[all...]
/linux-master/lib/
H A Dtest_bpf.c28 /* Few constants used to init test 'skb' */
14683 struct sk_buff *skb; local
14688 skb = alloc_skb(MAX_DATA, GFP_KERNEL);
14689 if (!skb)
14692 __skb_put_data(skb, buf, size);
14694 /* Initialize a fake skb with test pattern. */
14695 skb_reset_mac_header(skb);
14696 skb->protocol = htons(ETH_P_IP);
14697 skb->pkt_type = SKB_TYPE;
14698 skb
14714 struct sk_buff *skb; local
14951 struct sk_buff *skb[2]; local
15012 struct sk_buff *skb[2]; local
15088 struct sk_buff *skb, *segs; local
[all...]
/linux-master/kernel/bpf/
H A Dcgroup.c1337 * @skb: The skb that is being sent or received
1358 struct sk_buff *skb,
1361 unsigned int offset = -skb_network_offset(skb);
1371 save_sk = skb->sk;
1372 skb->sk = sk;
1373 __skb_push(skb, offset);
1376 bpf_compute_and_save_data_end(skb, &saved_data_end);
1382 ret = bpf_prog_run_array_cg(&cgrp->bpf, atype, skb,
1394 * 0: NET_XMIT_SUCCESS skb shoul
1357 __cgroup_bpf_run_filter_skb(struct sock *sk, struct sk_buff *skb, enum cgroup_bpf_attach_type atype) argument
[all...]
/linux-master/io_uring/
H A Dnotif.h27 void io_tx_ubuf_complete(struct sk_buff *skb, struct ubuf_info *uarg,

Completed in 537 milliseconds

<<11121314151617181920>>