Searched refs:ssap (Results 1 – 13 of 13) sorted by relevance
/net/nfc/ |
D | llcp_core.c | 202 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() 416 int ssap = nfc_llcp_wks_sap(sock->service_name, in nfc_llcp_get_sdp_ssap() local 419 if (ssap > 0) { in nfc_llcp_get_sdp_ssap() 420 pr_debug("WKS %d\n", ssap); in nfc_llcp_get_sdp_ssap() 423 if (test_bit(ssap, &local->local_wks)) { in nfc_llcp_get_sdp_ssap() 429 set_bit(ssap, &local->local_wks); in nfc_llcp_get_sdp_ssap() 432 return ssap; in nfc_llcp_get_sdp_ssap() [all …]
|
D | llcp_sock.c | 114 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 …]
|
D | llcp.h | 110 u8 ssap; member 143 __u8 ssap; member 208 void nfc_llcp_put_ssap(struct nfc_llcp_local *local, u8 ssap); 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,
|
D | llcp_commands.c | 284 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() 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()
|
/net/bridge/netfilter/ |
D | ebt_802_3.c | 30 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()
|
D | ebt_stp.c | 21 u8 ssap; member
|
/net/802/ |
D | fc.c | 50 fcllc->dsap = fcllc->ssap = EXTENDED_SAP; in fc_header()
|
D | stp.c | 37 if (pdu->ssap != LLC_SAP_BSPAN || in stp_pdu_rcv()
|
D | hippi.c | 71 hip->snap.ssap = HIPPI_EXTENDED_SAP; in hippi_header()
|
D | fddi.c | 62 fddi->hdr.llc_snap.ssap = FDDI_EXTENDED_SAP; in fddi_header()
|
/net/llc/ |
D | llc_pdu.c | 23 llc_pdu_un_hdr(skb)->ssap |= pdu_type; in llc_pdu_set_cmd_rsp()
|
/net/openvswitch/ |
D | flow.c | 520 u8 ssap; /* Always 0xAA */ in parse_ethertype() member 542 llc->ssap != LLC_SAP_SNAP || in parse_ethertype()
|
/net/wireless/ |
D | util.c | 2484 u8 ssap; /* 0 */ member 2509 msg->ssap = 0x01; /* NULL LSAP, CR Bit: Response */ in cfg80211_send_layer2_update()
|