Home
last modified time | relevance | path

Searched refs:ssap (Results 1 – 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/net/nfc/
Dllcp_core.c187 u8 ssap, u8 dsap) in nfc_llcp_sock_get() argument
192 pr_debug("ssap dsap %d %d\n", ssap, dsap); in nfc_llcp_sock_get()
194 if (ssap == 0 && dsap == 0) in nfc_llcp_sock_get()
204 if (tmp_sock->ssap == ssap && tmp_sock->dsap == dsap) { in nfc_llcp_sock_get()
381 int ssap = nfc_llcp_wks_sap(sock->service_name, in nfc_llcp_get_sdp_ssap() local
384 if (ssap > 0) { in nfc_llcp_get_sdp_ssap()
385 pr_debug("WKS %d\n", ssap); in nfc_llcp_get_sdp_ssap()
388 if (local->local_wks & BIT(ssap)) { in nfc_llcp_get_sdp_ssap()
394 set_bit(ssap, &local->local_wks); in nfc_llcp_get_sdp_ssap()
397 return ssap; in nfc_llcp_get_sdp_ssap()
[all …]
Dllcp_sock.c117 llcp_sock->ssap = nfc_llcp_get_sdp_ssap(local, llcp_sock); in llcp_sock_bind()
118 if (llcp_sock->ssap == LLCP_SAP_MAX) { in llcp_sock_bind()
128 llcp_sock->reserved_ssap = llcp_sock->ssap; in llcp_sock_bind()
132 pr_debug("Socket bound to SAP %d\n", llcp_sock->ssap); in llcp_sock_bind()
509 llcp_sock->dsap, llcp_sock->ssap); in llcp_sock_getname()
523 llcp_addr->ssap = llcp_sock->ssap; in llcp_sock_getname()
630 nfc_llcp_put_ssap(llcp_sock->local, llcp_sock->ssap); in llcp_sock_release()
713 llcp_sock->ssap = nfc_llcp_get_local_ssap(local); in llcp_sock_connect()
714 if (llcp_sock->ssap == LLCP_SAP_MAX) { in llcp_sock_connect()
721 llcp_sock->reserved_ssap = llcp_sock->ssap; in llcp_sock_connect()
[all …]
Dllcp.h111 u8 ssap; member
144 __u8 ssap; member
210 void nfc_llcp_put_ssap(struct nfc_llcp_local *local, u8 ssap);
244 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason);
248 int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap,
Dllcp_commands.c282 u8 dsap, u8 ssap, u8 ptype) in llcp_add_header() argument
286 pr_debug("ptype 0x%x dsap 0x%x ssap 0x%x\n", ptype, dsap, ssap); in llcp_add_header()
289 header[1] = (u8)((ptype << 6) | ssap); in llcp_add_header()
317 if (sock->ssap == 0) in llcp_allocate_pdu()
327 skb = llcp_add_header(skb, sock->dsap, sock->ssap, cmd); in llcp_allocate_pdu()
610 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason) in nfc_llcp_send_dm() argument
634 skb = llcp_add_header(skb, dsap, ssap, LLCP_PDU_DM); in nfc_llcp_send_dm()
726 int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap, in nfc_llcp_send_ui_frame() argument
773 pdu = llcp_add_header(pdu, dsap, ssap, LLCP_PDU_UI); in nfc_llcp_send_ui_frame()
/kernel/linux/linux-5.10/include/net/
Dllc_pdu.h46 #define LLC_PDU_IS_CMD(pdu) ((pdu->ssap & LLC_PDU_RSP) ? 0 : 1)
47 #define LLC_PDU_IS_RSP(pdu) ((pdu->ssap & LLC_PDU_RSP) ? 1 : 0)
201 u8 ssap; member
214 u8 ssap; member
234 u8 ssap, u8 dsap, u8 cr) in llc_pdu_header_init() argument
252 pdu->ssap = ssap; in llc_pdu_header_init()
253 pdu->ssap |= cr; in llc_pdu_header_init()
290 static inline void llc_pdu_decode_ssap(struct sk_buff *skb, u8 *ssap) in llc_pdu_decode_ssap() argument
292 *ssap = llc_pdu_un_hdr(skb)->ssap & 0xFE; in llc_pdu_decode_ssap()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dif_fddi.h39 __u8 ssap; member
44 __u8 ssap; member
50 __u8 ssap; member
Dif_fc.h20 __u8 ssap; member
Datmmpc.h62 __u8 ssap; member
Dif_hippi.h97 __u8 ssap; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dif_fddi.h88 __u8 ssap; /* source service access point */ member
95 __u8 ssap; /* source service access point */ member
103 __u8 ssap; /* always 0xAA */ member
Dif_fc.h46 __u8 ssap; /* source SAP */ member
Datmmpc.h67 __u8 ssap; /* Source Service Access Point (0xAA) */ member
Dif_hippi.h142 __u8 ssap; /* always 0xAA */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dif_fddi.h64 __u8 ssap; member
69 __u8 ssap; member
75 __u8 ssap; member
Dif_fc.h33 __u8 ssap; member
Dif_hippi.h78 __u8 ssap; member
Datmmpc.h74 __u8 ssap; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter_bridge/
Debt_802_3.h18 __u8 ssap; member
25 __u8 ssap; member
/kernel/linux/linux-5.10/include/uapi/linux/netfilter_bridge/
Debt_802_3.h32 __u8 ssap; member
40 __u8 ssap; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter_bridge/
Debt_802_3.h31 __u8 ssap; member
38 __u8 ssap; member
/kernel/linux/linux-5.10/net/bridge/netfilter/
Debt_802_3.c30 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.ssap)) in ebt_802_3_mt()
37 if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE)) in ebt_802_3_mt()
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dp80211conv.c166 e_llc->ssap = 0xAA; in skb_ether_to_p80211()
361 (e_llc->dsap != 0xaa || e_llc->ssap != 0xaa) && in skb_p80211_to_ether()
383 (e_llc->ssap == 0xaa) && in skb_p80211_to_ether()
419 (e_llc->ssap == 0xaa) && in skb_p80211_to_ether()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dcommon.h64 u8 ssap; member
/kernel/linux/linux-5.10/net/802/
Dfc.c50 fcllc->dsap = fcllc->ssap = EXTENDED_SAP; in fc_header()
Dstp.c37 if (pdu->ssap != LLC_SAP_BSPAN || in stp_pdu_rcv()

123