Home
last modified time | relevance | path

Searched refs:dsap (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.6.21/net/llc/
Dllc_station.c35 !pdu->dsap; /* NULL DSAP value */ in llc_stat_ev_rx_null_dsap_xid_c()
45 !pdu->dsap; /* NULL DSAP */ in llc_stat_ev_rx_null_dsap_test_c()
50 u8 mac_da[ETH_ALEN], dsap; in llc_station_ac_send_xid_r() local
58 llc_pdu_decode_ssap(skb, &dsap); in llc_station_ac_send_xid_r()
59 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, 0, dsap, LLC_PDU_RSP); in llc_station_ac_send_xid_r()
74 u8 mac_da[ETH_ALEN], dsap; in llc_station_ac_send_test_r() local
89 llc_pdu_decode_ssap(skb, &dsap); in llc_station_ac_send_test_r()
90 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, 0, dsap, LLC_PDU_RSP); in llc_station_ac_send_test_r()
Dllc_s_ac.c103 u8 mac_da[ETH_ALEN], mac_sa[ETH_ALEN], dsap; in llc_sap_action_send_xid_r() local
109 llc_pdu_decode_ssap(skb, &dsap); in llc_sap_action_send_xid_r()
114 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, dsap, in llc_sap_action_send_xid_r()
151 u8 mac_da[ETH_ALEN], mac_sa[ETH_ALEN], dsap; in llc_sap_action_send_test_r() local
161 llc_pdu_decode_ssap(skb, &dsap); in llc_sap_action_send_test_r()
168 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, dsap, in llc_sap_action_send_test_r()
Dllc_output.c59 const unsigned char *dmac, unsigned char dsap) in llc_build_and_send_ui_pkt() argument
63 dsap, LLC_PDU_CMD); in llc_build_and_send_ui_pkt()
Dllc_input.c186 if (unlikely(!pdu->dsap)) /* NULL DSAP, refer to station */ in llc_rcv()
188 sap = llc_sap_find(pdu->dsap); in llc_rcv()
191 pdu->dsap); in llc_rcv()
Dllc_sap.c232 struct sk_buff *skb, u8 *dmac, u8 dsap) in llc_build_and_send_test_pkt() argument
237 ev->daddr.lsap = dsap; in llc_build_and_send_test_pkt()
258 u8 *dmac, u8 dsap) in llc_build_and_send_xid_pkt() argument
263 ev->daddr.lsap = dsap; in llc_build_and_send_xid_pkt()
Dllc_if.c83 int llc_establish_connection(struct sock *sk, const u8 *lmac, u8 *dmac, u8 dsap) in llc_establish_connection() argument
92 daddr.lsap = dsap; in llc_establish_connection()
/linux-6.6.21/net/nfc/
Dllcp_core.c202 u8 ssap, u8 dsap) in nfc_llcp_sock_get() argument
207 pr_debug("ssap dsap %d %d\n", ssap, dsap); in nfc_llcp_sock_get()
209 if (ssap == 0 && dsap == 0) in nfc_llcp_sock_get()
219 if (tmp_sock->ssap == ssap && tmp_sock->dsap == dsap) { in nfc_llcp_sock_get()
874 u8 dsap, ssap; in nfc_llcp_recv_ui() local
876 dsap = nfc_llcp_dsap(skb); in nfc_llcp_recv_ui()
880 ui_cb->dsap = dsap; in nfc_llcp_recv_ui()
883 pr_debug("%d %d\n", dsap, ssap); in nfc_llcp_recv_ui()
886 llcp_sock = nfc_llcp_sock_get(local, dsap, LLCP_SAP_SDP); in nfc_llcp_recv_ui()
910 u8 dsap, ssap, reason; in nfc_llcp_recv_connect() local
[all …]
Dllcp_sock.c79 if (llcp_addr.dsap != 0) in llcp_sock_bind()
514 llcp_sock->dsap, llcp_sock->ssap); in llcp_sock_getname()
527 llcp_addr->dsap = llcp_sock->dsap; in llcp_sock_getname()
666 if (addr->service_name_len == 0 && addr->dsap == 0) in llcp_sock_connect()
720 llcp_sock->dsap = addr->dsap; in llcp_sock_connect()
722 llcp_sock->dsap = LLCP_SAP_SDP; in llcp_sock_connect()
814 return nfc_llcp_send_ui_frame(llcp_sock, addr->dsap, addr->ssap, in llcp_sock_sendmsg()
881 pr_debug("Datagram socket %d %d\n", ui_cb->dsap, ui_cb->ssap); in llcp_sock_recvmsg()
886 sockaddr->dsap = ui_cb->dsap; in llcp_sock_recvmsg()
992 llcp_sock->dsap = LLCP_SAP_SDP; in nfc_llcp_sock_alloc()
Dllcp.h111 u8 dsap; member
142 __u8 dsap; member
242 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason);
246 int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap,
Dllcp_commands.c284 u8 dsap, u8 ssap, u8 ptype) in llcp_add_header() argument
288 pr_debug("ptype 0x%x dsap 0x%x ssap 0x%x\n", ptype, dsap, ssap); in llcp_add_header()
290 header[0] = (u8)((dsap << 2) | (ptype >> 2)); in llcp_add_header()
329 skb = llcp_add_header(skb, sock->dsap, sock->ssap, cmd); in llcp_allocate_pdu()
613 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason) in nfc_llcp_send_dm() argument
637 skb = llcp_add_header(skb, dsap, ssap, LLCP_PDU_DM); in nfc_llcp_send_dm()
729 int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap, in nfc_llcp_send_ui_frame() argument
776 pdu = llcp_add_header(pdu, dsap, ssap, LLCP_PDU_UI); in nfc_llcp_send_ui_frame()
/linux-6.6.21/include/net/
Dllc_pdu.h38 ((pdu->dsap & LLC_PDU_GROUP_DSAP_MASK) ? 0 : 1)
40 (!(pdu->dsap & LLC_PDU_GROUP_DSAP_MASK) ? 0 : 1)
200 u8 dsap; member
213 u8 dsap; member
234 u8 ssap, u8 dsap, u8 cr) in llc_pdu_header_init() argument
251 pdu->dsap = dsap; in llc_pdu_header_init()
301 static inline void llc_pdu_decode_dsap(struct sk_buff *skb, u8 *dsap) in llc_pdu_decode_dsap() argument
303 *dsap = llc_pdu_un_hdr(skb)->dsap & 0xFE; in llc_pdu_decode_dsap()
Dllc_sap.h29 unsigned char *dmac, unsigned char dsap);
31 unsigned char *dmac, unsigned char dsap);
Dllc_if.h66 u8 dsap);
/linux-6.6.21/include/uapi/linux/
Dif_fddi.h87 __u8 dsap; /* destination service access point */ member
94 __u8 dsap; /* destination service access point */ member
102 __u8 dsap; /* always 0xAA */ member
Dif_fc.h45 __u8 dsap; /* destination SAP */ member
Datmmpc.h66 __u8 dsap; /* Destination Service Access Point (0xAA) */ member
Dif_hippi.h141 __u8 dsap; /* always 0xAA */ member
/linux-6.6.21/include/uapi/linux/netfilter_bridge/
Debt_802_3.h31 __u8 dsap; member
39 __u8 dsap; member
/linux-6.6.21/net/bridge/netfilter/
Debt_802_3.c32 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.dsap)) in ebt_802_3_mt()
37 if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE)) in ebt_802_3_mt()
/linux-6.6.21/net/802/
Dfddi.c61 fddi->hdr.llc_snap.dsap = FDDI_EXTENDED_SAP; in fddi_header()
106 if(fddi->hdr.llc_8022_1.dsap==0xe0) in fddi_type_trans()
Dfc.c50 fcllc->dsap = fcllc->ssap = EXTENDED_SAP; in fc_header()
Dstp.c38 pdu->dsap != LLC_SAP_BSPAN || in stp_pdu_rcv()
/linux-6.6.21/drivers/staging/wlan-ng/
Dp80211conv.c144 e_llc->dsap = 0xAA; /* SNAP, see IEEE 802 */ in skb_ether_to_p80211()
340 (e_llc->dsap != 0xaa || e_llc->ssap != 0xaa) && in skb_p80211_to_ether()
361 (e_llc->dsap == 0xaa) && in skb_p80211_to_ether()
397 (e_llc->dsap == 0xaa) && in skb_p80211_to_ether()
Dp80211conv.h119 u8 dsap; member
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
Dcommon.h63 u8 dsap; member

12