/net/hsr/ |
D | hsr_forward.c | 79 struct hsr_frame_info *frame) in create_stripped_skb_hsr() argument 97 if (frame->is_vlan) in create_stripped_skb_hsr() 107 struct sk_buff *hsr_get_untagged_frame(struct hsr_frame_info *frame, in hsr_get_untagged_frame() argument 110 if (!frame->skb_std) { in hsr_get_untagged_frame() 111 if (frame->skb_hsr) in hsr_get_untagged_frame() 112 frame->skb_std = in hsr_get_untagged_frame() 113 create_stripped_skb_hsr(frame->skb_hsr, frame); in hsr_get_untagged_frame() 118 if (!frame->skb_std) in hsr_get_untagged_frame() 122 return skb_clone(frame->skb_std, GFP_ATOMIC); in hsr_get_untagged_frame() 125 struct sk_buff *prp_get_untagged_frame(struct hsr_frame_info *frame, in prp_get_untagged_frame() argument [all …]
|
D | hsr_forward.h | 17 struct sk_buff *prp_create_tagged_frame(struct hsr_frame_info *frame, 19 struct sk_buff *hsr_create_tagged_frame(struct hsr_frame_info *frame, 21 struct sk_buff *hsr_get_untagged_frame(struct hsr_frame_info *frame, 23 struct sk_buff *prp_get_untagged_frame(struct hsr_frame_info *frame, 25 bool prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port); 26 bool hsr_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port); 28 struct hsr_frame_info *frame); 30 struct hsr_frame_info *frame);
|
D | hsr_framereg.c | 263 void hsr_handle_sup_frame(struct hsr_frame_info *frame) in hsr_handle_sup_frame() argument 265 struct hsr_node *node_curr = frame->node_src; in hsr_handle_sup_frame() 266 struct hsr_port *port_rcv = frame->port_rcv; in hsr_handle_sup_frame() 279 if (frame->skb_hsr) in hsr_handle_sup_frame() 280 skb = frame->skb_hsr; in hsr_handle_sup_frame() 281 else if (frame->skb_prp) in hsr_handle_sup_frame() 282 skb = frame->skb_prp; in hsr_handle_sup_frame() 283 else if (frame->skb_std) in hsr_handle_sup_frame() 284 skb = frame->skb_std; in hsr_handle_sup_frame()
|
D | hsr_main.h | 184 bool (*drop_frame)(struct hsr_frame_info *frame, struct hsr_port *port); 185 struct sk_buff * (*get_untagged_frame)(struct hsr_frame_info *frame, 187 struct sk_buff * (*create_tagged_frame)(struct hsr_frame_info *frame, 190 struct hsr_frame_info *frame);
|
D | hsr_framereg.h | 36 void hsr_handle_sup_frame(struct hsr_frame_info *frame);
|
/net/lapb/ |
D | lapb_in.c | 40 struct lapb_frame *frame) in lapb_state0_machine() argument 42 switch (frame->type) { in lapb_state0_machine() 44 lapb_dbg(1, "(%p) S0 RX SABM(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine() 47 lapb->dev, frame->pf); in lapb_state0_machine() 48 lapb_send_control(lapb, LAPB_DM, frame->pf, in lapb_state0_machine() 52 lapb->dev, frame->pf); in lapb_state0_machine() 54 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine() 69 lapb_dbg(1, "(%p) S0 RX SABME(%d)\n", lapb->dev, frame->pf); in lapb_state0_machine() 72 lapb->dev, frame->pf); in lapb_state0_machine() 74 lapb_send_control(lapb, LAPB_UA, frame->pf, in lapb_state0_machine() [all …]
|
D | lapb_subr.c | 107 struct lapb_frame *frame) in lapb_decode() argument 109 frame->type = LAPB_ILLEGAL; in lapb_decode() 122 frame->cr = LAPB_COMMAND; in lapb_decode() 124 frame->cr = LAPB_RESPONSE; in lapb_decode() 127 frame->cr = LAPB_COMMAND; in lapb_decode() 129 frame->cr = LAPB_RESPONSE; in lapb_decode() 134 frame->cr = LAPB_COMMAND; in lapb_decode() 136 frame->cr = LAPB_RESPONSE; in lapb_decode() 139 frame->cr = LAPB_COMMAND; in lapb_decode() 141 frame->cr = LAPB_RESPONSE; in lapb_decode() [all …]
|
D | lapb_out.c | 39 unsigned char *frame; in lapb_send_iframe() local 45 frame = skb_push(skb, 2); in lapb_send_iframe() 47 frame[0] = LAPB_I; in lapb_send_iframe() 48 frame[0] |= lapb->vs << 1; in lapb_send_iframe() 49 frame[1] = poll_bit ? LAPB_EPF : 0; in lapb_send_iframe() 50 frame[1] |= lapb->vr << 1; in lapb_send_iframe() 52 frame = skb_push(skb, 1); in lapb_send_iframe() 54 *frame = LAPB_I; in lapb_send_iframe() 55 *frame |= poll_bit ? LAPB_SPF : 0; in lapb_send_iframe() 56 *frame |= lapb->vr << 5; in lapb_send_iframe() [all …]
|
/net/x25/ |
D | x25_subr.c | 264 unsigned char *frame; in x25_decode() local 268 frame = skb->data; in x25_decode() 272 switch (frame[2]) { in x25_decode() 286 return frame[2]; in x25_decode() 290 if (frame[2] == X25_RR || in x25_decode() 291 frame[2] == X25_RNR || in x25_decode() 292 frame[2] == X25_REJ) { in x25_decode() 295 frame = skb->data; in x25_decode() 297 *nr = (frame[3] >> 1) & 0x7F; in x25_decode() 298 return frame[2]; in x25_decode() [all …]
|
D | Kconfig | 10 frame relay; the one physical line from your box to the X.25 network
|
/net/ax25/ |
D | ax25_subr.c | 99 unsigned char *frame; in ax25_decode() local 102 frame = skb->data; in ax25_decode() 106 if ((frame[0] & AX25_S) == 0) { in ax25_decode() 108 *ns = (frame[0] >> 1) & 0x07; in ax25_decode() 109 *nr = (frame[0] >> 5) & 0x07; in ax25_decode() 110 *pf = frame[0] & AX25_PF; in ax25_decode() 111 } else if ((frame[0] & AX25_U) == 1) { /* S frame - take out PF/NR */ in ax25_decode() 112 frametype = frame[0] & 0x0F; in ax25_decode() 113 *nr = (frame[0] >> 5) & 0x07; in ax25_decode() 114 *pf = frame[0] & AX25_PF; in ax25_decode() [all …]
|
D | ax25_out.c | 213 unsigned char *frame; in ax25_send_iframe() local 221 frame = skb_push(skb, 1); in ax25_send_iframe() 223 *frame = AX25_I; in ax25_send_iframe() 224 *frame |= (poll_bit) ? AX25_PF : 0; in ax25_send_iframe() 225 *frame |= (ax25->vr << 5); in ax25_send_iframe() 226 *frame |= (ax25->vs << 1); in ax25_send_iframe() 228 frame = skb_push(skb, 2); in ax25_send_iframe() 230 frame[0] = AX25_I; in ax25_send_iframe() 231 frame[0] |= (ax25->vs << 1); in ax25_send_iframe() 232 frame[1] = (poll_bit) ? AX25_EPF : 0; in ax25_send_iframe() [all …]
|
/net/rose/ |
D | rose_subr.c | 203 unsigned char *frame; in rose_decode() local 205 frame = skb->data; in rose_decode() 209 switch (frame[2]) { in rose_decode() 216 return frame[2]; in rose_decode() 221 if ((frame[2] & 0x1F) == ROSE_RR || in rose_decode() 222 (frame[2] & 0x1F) == ROSE_RNR) { in rose_decode() 223 *nr = (frame[2] >> 5) & 0x07; in rose_decode() 224 return frame[2] & 0x1F; in rose_decode() 227 if ((frame[2] & 0x01) == ROSE_DATA) { in rose_decode() 228 *q = (frame[0] & ROSE_Q_BIT) == ROSE_Q_BIT; in rose_decode() [all …]
|
/net/wireless/ |
D | util.c | 669 __ieee80211_amsdu_copy_frag(struct sk_buff *skb, struct sk_buff *frame, in __ieee80211_amsdu_copy_frag() argument 697 __frame_add_frag(frame, frag_page, frag_ptr, cur_len, frag_size); in __ieee80211_amsdu_copy_frag() 703 __frame_add_frag(frame, skb_frag_page(frag), in __ieee80211_amsdu_copy_frag() 714 struct sk_buff *frame; in __ieee80211_amsdu_copy() local 732 frame = dev_alloc_skb(hlen + sizeof(struct ethhdr) + 2 + cur_len); in __ieee80211_amsdu_copy() 733 if (!frame) in __ieee80211_amsdu_copy() 736 skb_reserve(frame, hlen + sizeof(struct ethhdr) + 2); in __ieee80211_amsdu_copy() 737 skb_copy_bits(skb, offset, skb_put(frame, cur_len), cur_len); in __ieee80211_amsdu_copy() 741 return frame; in __ieee80211_amsdu_copy() 744 __ieee80211_amsdu_copy_frag(skb, frame, offset, len); in __ieee80211_amsdu_copy() [all …]
|
D | trace.h | 2932 __dynamic_array(u8, frame, len) 2936 memcpy(__get_dynamic_array(frame), buf, len); 2940 le16_to_cpup((__le16 *)__get_dynamic_array(frame))) 2959 __dynamic_array(u8, frame, len) 2964 memcpy(__get_dynamic_array(frame), buf, len); 2969 le16_to_cpup((__le16 *)__get_dynamic_array(frame)), 3431 TP_PROTO(struct wiphy *wiphy, const u8 *frame, size_t len, 3433 TP_ARGS(wiphy, frame, len, freq, sig_dbm),
|
/net/mac80211/ |
D | fils_aead.c | 268 u8 *frame, size_t *frame_len, in fils_decrypt_assoc_resp() argument 271 struct ieee80211_mgmt *mgmt = (void *)frame; in fils_decrypt_assoc_resp() 284 ies, frame + *frame_len - ies); in fils_decrypt_assoc_resp() 314 crypt_len = frame + *frame_len - encr; in fils_decrypt_assoc_resp()
|
D | offchannel.c | 172 if (roc->frame) { in ieee80211_roc_notify_destroy() 174 roc->frame->data, roc->frame->len, in ieee80211_roc_notify_destroy() 176 ieee80211_free_txskb(&roc->sdata->local->hw, roc->frame); in ieee80211_roc_notify_destroy() 245 if (!WARN_ON(!roc->frame)) { in ieee80211_handle_roc_started() 246 ieee80211_tx_skb_tid_band(roc->sdata, roc->frame, 7, in ieee80211_handle_roc_started() 248 roc->frame = NULL; in ieee80211_handle_roc_started() 566 roc->frame = txskb; in ieee80211_start_roc_work()
|
D | fils_aead.h | 13 u8 *frame, size_t *frame_len,
|
D | tx.c | 5509 const void *frame, size_t frame_len, in ieee80211_rts_get() argument 5513 const struct ieee80211_hdr *hdr = frame; in ieee80211_rts_get() 5525 const void *frame, size_t frame_len, in ieee80211_ctstoself_get() argument 5529 const struct ieee80211_hdr *hdr = frame; in ieee80211_ctstoself_get()
|
D | ieee80211_i.h | 349 struct sk_buff *frame; member
|
/net/bridge/netfilter/ |
D | Kconfig | 47 ebtables is a general, extensible frame/packet identification 69 The ebtables filter table is used to define frame filtering rules at 141 the 'nfmark' value in the frame. This can be set by the mark target. 196 setting the 'nfmark' value in the frame. 206 destination address of a frame to that of the device it arrived on. 224 in any ebtables table. It records info about the frame header
|
/net/dsa/ |
D | Kconfig | 32 tristate "Tag driver for Broadcom switches using in-frame headers" 39 tristate "Tag driver for Broadcom legacy switches using in-frame headers" 109 hardware-defined injection/extraction frame header. Flow control
|
/net/dcb/ |
D | Kconfig | 19 Priority-based Flow Control (PFC) - a MAC control pause frame which
|
/net/packet/ |
D | af_packet.c | 367 static void __packet_set_status(struct packet_sock *po, void *frame, int status) in __packet_set_status() argument 373 h.raw = frame; in __packet_set_status() 395 static int __packet_get_status(const struct packet_sock *po, void *frame) in __packet_get_status() argument 403 h.raw = frame; in __packet_get_status() 438 static __u32 __packet_set_timestamp(struct packet_sock *po, void *frame, in __packet_set_timestamp() argument 448 h.raw = frame; in __packet_set_timestamp() 2530 void *frame, struct net_device *dev, void *data, int tp_len, in tpacket_fill_skb() argument 2540 ph.raw = frame; in tpacket_fill_skb() 2609 static int tpacket_parse_header(struct packet_sock *po, void *frame, in tpacket_parse_header() argument 2615 ph.raw = frame; in tpacket_parse_header() [all …]
|
/net/can/ |
D | Kconfig | 68 ISO 15765-2:2016 for 'classic' CAN and CAN FD frame types.
|