Home
last modified time | relevance | path

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

12

/linux-5.19.10/net/nfc/
Dllcp_core.c185 u8 ssap, u8 dsap) in nfc_llcp_sock_get() argument
190 pr_debug("ssap dsap %d %d\n", ssap, dsap); in nfc_llcp_sock_get()
192 if (ssap == 0 && dsap == 0) in nfc_llcp_sock_get()
202 if (tmp_sock->ssap == ssap && tmp_sock->dsap == dsap) { in nfc_llcp_sock_get()
379 int ssap = nfc_llcp_wks_sap(sock->service_name, in nfc_llcp_get_sdp_ssap() local
382 if (ssap > 0) { in nfc_llcp_get_sdp_ssap()
383 pr_debug("WKS %d\n", ssap); in nfc_llcp_get_sdp_ssap()
386 if (test_bit(ssap, &local->local_wks)) { in nfc_llcp_get_sdp_ssap()
392 set_bit(ssap, &local->local_wks); in nfc_llcp_get_sdp_ssap()
395 return ssap; in nfc_llcp_get_sdp_ssap()
[all …]
Dllcp_sock.c114 llcp_sock->ssap = nfc_llcp_get_sdp_ssap(local, llcp_sock); in llcp_sock_bind()
115 if (llcp_sock->ssap == LLCP_SAP_MAX) { in llcp_sock_bind()
120 llcp_sock->reserved_ssap = llcp_sock->ssap; in llcp_sock_bind()
124 pr_debug("Socket bound to SAP %d\n", llcp_sock->ssap); in llcp_sock_bind()
514 llcp_sock->dsap, llcp_sock->ssap); in llcp_sock_getname()
528 llcp_addr->ssap = llcp_sock->ssap; in llcp_sock_getname()
640 nfc_llcp_put_ssap(llcp_sock->local, llcp_sock->ssap); in llcp_sock_release()
711 llcp_sock->ssap = nfc_llcp_get_local_ssap(local); in llcp_sock_connect()
712 if (llcp_sock->ssap == LLCP_SAP_MAX) { in llcp_sock_connect()
717 llcp_sock->reserved_ssap = llcp_sock->ssap; in llcp_sock_connect()
[all …]
Dllcp.h110 u8 ssap; member
143 __u8 ssap; member
209 void nfc_llcp_put_ssap(struct nfc_llcp_local *local, u8 ssap);
243 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason);
247 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()
291 header[1] = (u8)((ptype << 6) | ssap); in llcp_add_header()
319 if (sock->ssap == 0) in llcp_allocate_pdu()
329 skb = llcp_add_header(skb, sock->dsap, sock->ssap, cmd); in llcp_allocate_pdu()
606 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason) in nfc_llcp_send_dm() argument
630 skb = llcp_add_header(skb, dsap, ssap, LLCP_PDU_DM); in nfc_llcp_send_dm()
722 int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap, in nfc_llcp_send_ui_frame() argument
769 pdu = llcp_add_header(pdu, dsap, ssap, LLCP_PDU_UI); in nfc_llcp_send_ui_frame()
/linux-5.19.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()
/linux-5.19.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
Dnfc.h279 __u8 ssap; /* Source SAP to be bound to */ member
/linux-5.19.10/include/uapi/linux/netfilter_bridge/
Debt_802_3.h32 __u8 ssap; member
40 __u8 ssap; member
/linux-5.19.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()
Debt_stp.c21 u8 ssap; member
/linux-5.19.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()
Dp80211conv.h141 u8 ssap; member
/linux-5.19.10/drivers/net/wireless/ath/ath6kl/
Dcommon.h64 u8 ssap; member
/linux-5.19.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()
Dhippi.c71 hip->snap.ssap = HIPPI_EXTENDED_SAP; in hippi_header()
Dfddi.c62 fddi->hdr.llc_snap.ssap = FDDI_EXTENDED_SAP; in fddi_header()
/linux-5.19.10/drivers/staging/rtl8712/
Dieee80211.h111 u8 ssap; /* always 0xAA */ member
/linux-5.19.10/net/llc/
Dllc_pdu.c23 llc_pdu_un_hdr(skb)->ssap |= pdu_type; in llc_pdu_set_cmd_rsp()
/linux-5.19.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c122 snap->ssap = 0xaa; in libipw_copy_snap()
/linux-5.19.10/drivers/net/wireless/
Drayctl.h722 UCHAR ssap; member
/linux-5.19.10/net/openvswitch/
Dflow.c517 u8 ssap; /* Always 0xAA */ in parse_ethertype() member
539 llc->ssap != LLC_SAP_SNAP || in parse_ethertype()

12