Home
last modified time | relevance | path

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

/net/nfc/
Dllcp_core.c204 u8 ssap, u8 dsap) in nfc_llcp_sock_get() argument
209 pr_debug("ssap dsap %d %d\n", ssap, dsap); in nfc_llcp_sock_get()
211 if (ssap == 0 && dsap == 0) in nfc_llcp_sock_get()
221 if (tmp_sock->ssap == ssap && tmp_sock->dsap == dsap) { in nfc_llcp_sock_get()
418 int ssap = nfc_llcp_wks_sap(sock->service_name, in nfc_llcp_get_sdp_ssap() local
421 if (ssap > 0) { in nfc_llcp_get_sdp_ssap()
422 pr_debug("WKS %d\n", ssap); in nfc_llcp_get_sdp_ssap()
425 if (local->local_wks & BIT(ssap)) { in nfc_llcp_get_sdp_ssap()
431 set_bit(ssap, &local->local_wks); in nfc_llcp_get_sdp_ssap()
434 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()
719 llcp_sock->reserved_ssap = llcp_sock->ssap; in llcp_sock_connect()
[all …]
Dllcp.h111 u8 ssap; member
144 __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()
621 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason) in nfc_llcp_send_dm() argument
645 skb = llcp_add_header(skb, dsap, ssap, LLCP_PDU_DM); in nfc_llcp_send_dm()
737 int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap, in nfc_llcp_send_ui_frame() argument
784 pdu = llcp_add_header(pdu, dsap, ssap, LLCP_PDU_UI); in nfc_llcp_send_ui_frame()
/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.c22 u8 ssap; member
/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()
Dfddi.c62 fddi->hdr.llc_snap.ssap = FDDI_EXTENDED_SAP; in fddi_header()
Dhippi.c71 hip->snap.ssap = HIPPI_EXTENDED_SAP; in hippi_header()
/net/llc/
Dllc_pdu.c23 llc_pdu_un_hdr(skb)->ssap |= pdu_type; in llc_pdu_set_cmd_rsp()
/net/openvswitch/
Dflow.c371 u8 ssap; /* Always 0xAA */ in parse_ethertype() member
393 llc->ssap != LLC_SAP_SNAP || in parse_ethertype()
/net/wireless/
Dutil.c2053 u8 ssap; /* 0 */ member
2078 msg->ssap = 0x01; /* NULL LSAP, CR Bit: Response */ in cfg80211_send_layer2_update()