Home
last modified time | relevance | path

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

12

/linux-3.4.99/net/nfc/llcp/
Dllcp.c183 int ssap = nfc_llcp_wks_sap(sock->service_name, in nfc_llcp_get_sdp_ssap() local
186 if (ssap > 0) { in nfc_llcp_get_sdp_ssap()
187 pr_debug("WKS %d\n", ssap); in nfc_llcp_get_sdp_ssap()
190 if (local->local_wks & BIT(ssap)) { in nfc_llcp_get_sdp_ssap()
196 set_bit(ssap, &local->local_wks); in nfc_llcp_get_sdp_ssap()
199 return ssap; in nfc_llcp_get_sdp_ssap()
206 ssap = find_first_zero_bit(&local->local_sdp, LLCP_SDP_NUM_SAP); in nfc_llcp_get_sdp_ssap()
207 if (ssap == LLCP_SDP_NUM_SAP) { in nfc_llcp_get_sdp_ssap()
213 pr_debug("SDP ssap %d\n", LLCP_WKS_NUM_SAP + ssap); in nfc_llcp_get_sdp_ssap()
215 set_bit(ssap, &local->local_sdp); in nfc_llcp_get_sdp_ssap()
[all …]
Dsock.c87 llcp_sock->ssap = nfc_llcp_get_sdp_ssap(local, llcp_sock); in llcp_sock_bind()
88 if (llcp_sock->ssap == LLCP_MAX_SAP) in llcp_sock_bind()
91 local->sockets[llcp_sock->ssap] = llcp_sock; in llcp_sock_bind()
93 pr_debug("Socket bound to SAP %d\n", llcp_sock->ssap); in llcp_sock_bind()
264 llcp_addr->ssap = llcp_sock->ssap; in llcp_sock_getname()
335 if (llcp_sock == local->sockets[llcp_sock->ssap]) in llcp_sock_release()
336 local->sockets[llcp_sock->ssap] = NULL; in llcp_sock_release()
368 && llcp_sock->ssap > LLCP_LOCAL_SAP_OFFSET) || in llcp_sock_release()
370 nfc_llcp_put_ssap(llcp_sock->local, llcp_sock->ssap); in llcp_sock_release()
442 llcp_sock->ssap = nfc_llcp_get_local_ssap(local); in llcp_sock_connect()
[all …]
Dcommands.c175 u8 dsap, u8 ssap, u8 ptype) in llcp_add_header() argument
179 pr_debug("ptype 0x%x dsap 0x%x ssap 0x%x\n", ptype, dsap, ssap); in llcp_add_header()
182 header[1] = (u8)((ptype << 6) | ssap); in llcp_add_header()
210 if (sock->ssap == 0) in llcp_allocate_pdu()
220 skb = llcp_add_header(skb, sock->dsap, sock->ssap, cmd); in llcp_allocate_pdu()
251 skb = llcp_add_header(skb, sock->ssap, sock->dsap, LLCP_PDU_DISC); in nfc_llcp_disconnect()
395 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason) in nfc_llcp_send_dm() argument
419 skb = llcp_add_header(skb, ssap, dsap, LLCP_PDU_DM); in nfc_llcp_send_dm()
Dllcp.h94 u8 ssap; member
171 void nfc_llcp_put_ssap(struct nfc_llcp_local *local, u8 ssap);
193 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason);
/linux-3.4.99/include/net/
Dllc_pdu.h45 #define LLC_PDU_IS_CMD(pdu) ((pdu->ssap & LLC_PDU_RSP) ? 0 : 1)
46 #define LLC_PDU_IS_RSP(pdu) ((pdu->ssap & LLC_PDU_RSP) ? 1 : 0)
199 u8 ssap; member
212 u8 ssap; member
232 u8 ssap, u8 dsap, u8 cr) in llc_pdu_header_init() argument
241 pdu->ssap = ssap; in llc_pdu_header_init()
242 pdu->ssap |= cr; in llc_pdu_header_init()
285 static inline void llc_pdu_decode_ssap(struct sk_buff *skb, u8 *ssap) in llc_pdu_decode_ssap() argument
287 *ssap = llc_pdu_un_hdr(skb)->ssap & 0xFE; in llc_pdu_decode_ssap()
/linux-3.4.99/include/linux/netfilter_bridge/
Debt_802_3.h30 __u8 ssap; member
38 __u8 ssap; member
/linux-3.4.99/include/linux/
Dif_fddi.h68 __u8 ssap; /* source service access point */ member
75 __u8 ssap; /* source service access point */ member
84 __u8 ssap; /* always 0xAA */ member
Dif_fc.h45 __u8 ssap; /* source SAP */ member
Dif_tr.h58 __u8 ssap; /* source SAP */ member
Dnfc.h159 __u8 ssap; /* Source SAP to be bound to */ member
Datmmpc.h66 __u8 ssap; /* Source Service Access Point (0xAA) */ member
Dif_hippi.h141 __u8 ssap; /* always 0xAA */ member
/linux-3.4.99/net/bridge/netfilter/
Debt_802_3.c23 if (FWINV(info->sap != hdr->llc.ui.ssap, EBT_802_3_SAP)) in ebt_802_3_mt()
30 if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE)) in ebt_802_3_mt()
Debt_stp.c21 uint8_t ssap; member
/linux-3.4.99/drivers/staging/wlan-ng/
Dp80211conv.c168 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.h142 u8 ssap; member
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/
Dcommon.h64 u8 ssap; member
/linux-3.4.99/net/802/
Dstp.c40 if (pdu->ssap != LLC_SAP_BSPAN || in stp_pdu_rcv()
Dfc.c54 fcllc->dsap = fcllc->ssap = EXTENDED_SAP; in fc_header()
Dhippi.c75 hip->snap.ssap = HIPPI_EXTENDED_SAP; in hippi_header()
Dfddi.c66 fddi->hdr.llc_snap.ssap = FDDI_EXTENDED_SAP; in fddi_header()
/linux-3.4.99/net/llc/
Dllc_pdu.c23 llc_pdu_un_hdr(skb)->ssap |= pdu_type; in llc_pdu_set_cmd_rsp()
/linux-3.4.99/drivers/net/wireless/ipw2x00/
Dlibipw_tx.c136 snap->ssap = 0xaa; in libipw_copy_snap()
/linux-3.4.99/drivers/staging/rtl8187se/ieee80211/
Dieee80211_tx.c165 snap->ssap = 0xaa; in ieee80211_put_snap()
/linux-3.4.99/drivers/staging/rtl8712/
Dieee80211.h286 u8 ssap; /* always 0xAA */ member

12