/linux-4.4.14/net/llc/ |
D | llc_c_ac.c | 47 struct llc_sock *llc = llc_sk(sk); in llc_conn_ac_clear_remote_busy() local 49 if (llc->remote_busy_flag) { in llc_conn_ac_clear_remote_busy() 53 llc->remote_busy_flag = 0; in llc_conn_ac_clear_remote_busy() 54 del_timer(&llc->busy_state_timer.timer); in llc_conn_ac_clear_remote_busy() 134 struct llc_sock *llc = llc_sk(sk); in llc_conn_ac_rst_ind() local 154 if (llc->retry_count > llc->n2) { in llc_conn_ac_rst_ind() 191 struct llc_sock *llc = llc_sk(sk); in llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2() local 193 if (llc->data_flag == 2) in llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2() 194 del_timer(&llc->rej_sent_timer.timer); in llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2() 201 struct llc_sock *llc = llc_sk(sk); in llc_conn_ac_send_disc_cmd_p_set_x() local [all …]
|
D | llc_conn.c | 62 struct llc_sock *llc = llc_sk(skb->sk); in llc_conn_state_process() local 147 if (!llc_data_accept_state(llc->state)) in llc_conn_state_process() 150 rc = llc->failed_data_req = 1; in llc_conn_state_process() 234 struct llc_sock *llc; in llc_conn_resend_i_pdu_as_cmd() local 244 llc = llc_sk(sk); in llc_conn_resend_i_pdu_as_cmd() 246 while ((skb = skb_dequeue(&llc->pdu_unack_q)) != NULL) { in llc_conn_resend_i_pdu_as_cmd() 252 llc->vS = LLC_I_GET_NS(pdu); in llc_conn_resend_i_pdu_as_cmd() 256 llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; in llc_conn_resend_i_pdu_as_cmd() 276 struct llc_sock *llc = llc_sk(sk); in llc_conn_resend_i_pdu_as_rsp() local 286 while ((skb = skb_dequeue(&llc->pdu_unack_q)) != NULL) { in llc_conn_resend_i_pdu_as_rsp() [all …]
|
D | af_llc.c | 117 struct llc_sock* llc = llc_sk(sk); in llc_ui_send_data() local 120 if (unlikely(llc_data_accept_state(llc->state) || in llc_ui_send_data() 121 llc->remote_busy_flag || in llc_ui_send_data() 122 llc->p_flag)) { in llc_ui_send_data() 189 struct llc_sock *llc; in llc_ui_release() local 195 llc = llc_sk(sk); in llc_ui_release() 197 llc->laddr.lsap, llc->daddr.lsap); in llc_ui_release() 201 llc_sap_remove_socket(llc->sap, sk); in llc_ui_release() 203 if (llc->dev) in llc_ui_release() 204 dev_put(llc->dev); in llc_ui_release() [all …]
|
D | llc_proc.c | 83 struct llc_sock *llc; in llc_seq_next() local 97 llc = llc_sk(sk); in llc_seq_next() 98 sap = llc->sap; in llc_seq_next() 99 sk = laddr_hash_next(sap, llc_sk_laddr_hashfn(sap, &llc->laddr)); in llc_seq_next() 118 struct llc_sock *llc = llc_sk(sk); in llc_seq_stop() local 119 struct llc_sap *sap = llc->sap; in llc_seq_stop() 129 struct llc_sock *llc; in llc_seq_socket_show() local 137 llc = llc_sk(sk); in llc_seq_socket_show() 142 if (llc->dev) in llc_seq_socket_show() 143 llc_ui_format_mac(seq, llc->dev->dev_addr); in llc_seq_socket_show() [all …]
|
D | llc_if.c | 46 struct llc_sock *llc = llc_sk(sk); in llc_build_and_send_pkt() local 48 if (unlikely(llc->state == LLC_CONN_STATE_ADM)) in llc_build_and_send_pkt() 51 if (unlikely(llc_data_accept_state(llc->state) || /* data_conn_refuse */ in llc_build_and_send_pkt() 52 llc->p_flag)) { in llc_build_and_send_pkt() 53 llc->failed_data_req = 1; in llc_build_and_send_pkt() 60 skb->dev = llc->dev; in llc_build_and_send_pkt() 84 struct llc_sock *llc = llc_sk(sk); in llc_establish_connection() local 87 laddr.lsap = llc->sap->laddr.lsap; in llc_establish_connection() 91 existing = llc_lookup_established(llc->sap, &daddr, &laddr); in llc_establish_connection()
|
D | llc_sap.c | 301 struct llc_sock *llc = llc_sk(sk); in llc_dgram_match() local 304 llc->laddr.lsap == laddr->lsap && in llc_dgram_match() 305 ether_addr_equal(llc->laddr.mac, laddr->mac); in llc_dgram_match() 357 struct llc_sock *llc = llc_sk(sk); in llc_mcast_match() local 360 llc->laddr.lsap == laddr->lsap && in llc_mcast_match() 361 llc->dev == skb->dev; in llc_mcast_match() 396 struct llc_sock *llc; in llc_sap_mcast() local 400 hlist_for_each_entry(llc, dev_hb, dev_hash_node) { in llc_sap_mcast() 402 sk = &llc->sk; in llc_sap_mcast()
|
D | Makefile | 15 obj-$(CONFIG_LLC) += llc.o 17 llc-y := llc_core.o llc_input.o llc_output.o
|
D | llc_c_ev.c | 80 struct llc_sock *llc = llc_sk(sk); in llc_util_nr_inside_tx_window() local 83 if (llc->dev->flags & IFF_LOOPBACK) in llc_util_nr_inside_tx_window() 86 if (skb_queue_empty(&llc->pdu_unack_q)) in llc_util_nr_inside_tx_window() 88 skb = skb_peek(&llc->pdu_unack_q); in llc_util_nr_inside_tx_window() 91 skb = skb_peek_tail(&llc->pdu_unack_q); in llc_util_nr_inside_tx_window()
|
/linux-4.4.14/net/nfc/hci/ |
D | llc.c | 107 struct nfc_llc *llc; in nfc_llc_allocate() local 113 llc = kzalloc(sizeof(struct nfc_llc), GFP_KERNEL); in nfc_llc_allocate() 114 if (llc == NULL) in nfc_llc_allocate() 117 llc->data = llc_engine->ops->init(hdev, xmit_to_drv, rcv_to_hci, in nfc_llc_allocate() 119 &llc->rx_headroom, &llc->rx_tailroom, in nfc_llc_allocate() 121 if (llc->data == NULL) { in nfc_llc_allocate() 122 kfree(llc); in nfc_llc_allocate() 125 llc->ops = llc_engine->ops; in nfc_llc_allocate() 127 return llc; in nfc_llc_allocate() 130 void nfc_llc_free(struct nfc_llc *llc) in nfc_llc_free() argument [all …]
|
D | llc_nop.c | 56 static void llc_nop_deinit(struct nfc_llc *llc) in llc_nop_deinit() argument 58 kfree(nfc_llc_get_data(llc)); in llc_nop_deinit() 61 static int llc_nop_start(struct nfc_llc *llc) in llc_nop_start() argument 66 static int llc_nop_stop(struct nfc_llc *llc) in llc_nop_stop() argument 71 static void llc_nop_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) in llc_nop_rcv_from_drv() argument 73 struct llc_nop *llc_nop = nfc_llc_get_data(llc); in llc_nop_rcv_from_drv() 78 static int llc_nop_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) in llc_nop_xmit_from_hci() argument 80 struct llc_nop *llc_nop = nfc_llc_get_data(llc); in llc_nop_xmit_from_hci()
|
D | llc.h | 31 void (*deinit) (struct nfc_llc *llc); 32 int (*start) (struct nfc_llc *llc); 33 int (*stop) (struct nfc_llc *llc); 34 void (*rcv_from_drv) (struct nfc_llc *llc, struct sk_buff *skb); 35 int (*xmit_from_hci) (struct nfc_llc *llc, struct sk_buff *skb); 51 void *nfc_llc_get_data(struct nfc_llc *llc);
|
D | llc_shdlc.c | 797 static void llc_shdlc_deinit(struct nfc_llc *llc) in llc_shdlc_deinit() argument 799 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_deinit() 808 static int llc_shdlc_start(struct nfc_llc *llc) in llc_shdlc_start() argument 810 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_start() 815 static int llc_shdlc_stop(struct nfc_llc *llc) in llc_shdlc_stop() argument 817 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_stop() 824 static void llc_shdlc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) in llc_shdlc_rcv_from_drv() argument 826 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_rcv_from_drv() 831 static int llc_shdlc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) in llc_shdlc_xmit_from_hci() argument 833 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_xmit_from_hci()
|
D | core.c | 111 r = nfc_llc_xmit_from_hci(hdev->llc, skb); in nfc_hci_msg_tx_work() 579 r = nfc_llc_start(hdev->llc); in hci_dev_up() 605 nfc_llc_stop(hdev->llc); in hci_dev_up() 618 nfc_llc_stop(hdev->llc); in hci_dev_down() 960 hdev->llc = nfc_llc_allocate(llc_name, hdev, ops->xmit, in nfc_hci_allocate_device() 963 if (hdev->llc == NULL) { in nfc_hci_allocate_device() 972 nfc_llc_free(hdev->llc); in nfc_hci_allocate_device() 994 nfc_llc_free(hdev->llc); in nfc_hci_free_device() 1078 nfc_llc_rcv_from_drv(hdev->llc, skb); in nfc_hci_recv_frame()
|
D | Makefile | 7 hci-y := core.o hcp.o command.o llc.o llc_nop.o
|
/linux-4.4.14/include/net/nfc/ |
D | llc.h | 38 void nfc_llc_free(struct nfc_llc *llc); 40 void nfc_llc_get_rx_head_tail_room(struct nfc_llc *llc, int *rx_headroom, 44 int nfc_llc_start(struct nfc_llc *llc); 45 int nfc_llc_stop(struct nfc_llc *llc); 46 void nfc_llc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb); 47 int nfc_llc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb);
|
D | hci.h | 135 struct nfc_llc *llc; member
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebt_802_3.c | 20 __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; in ebt_802_3_mt() 23 if (FWINV(info->sap != hdr->llc.ui.ssap, EBT_802_3_SAP)) in ebt_802_3_mt() 25 if (FWINV(info->sap != hdr->llc.ui.dsap, 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()
|
/linux-4.4.14/net/openvswitch/ |
D | flow.c | 336 struct llc_snap_hdr *llc; in parse_ethertype() local 351 llc = (struct llc_snap_hdr *) skb->data; in parse_ethertype() 352 if (llc->dsap != LLC_SAP_SNAP || in parse_ethertype() 353 llc->ssap != LLC_SAP_SNAP || in parse_ethertype() 354 (llc->oui[0] | llc->oui[1] | llc->oui[2]) != 0) in parse_ethertype() 359 if (eth_proto_is_802_3(llc->ethertype)) in parse_ethertype() 360 return llc->ethertype; in parse_ethertype()
|
/linux-4.4.14/Documentation/nfc/ |
D | nfc-hci.txt | 136 layers such as an llc to store the frame for re-emission, this function must 148 A new llc must implement the following functions: 155 void (*deinit) (struct nfc_llc *llc); 156 int (*start) (struct nfc_llc *llc); 157 int (*stop) (struct nfc_llc *llc); 158 void (*rcv_from_drv) (struct nfc_llc *llc, struct sk_buff *skb); 159 int (*xmit_from_hci) (struct nfc_llc *llc, struct sk_buff *skb); 169 The llc must be registered with nfc before it can be used. Do that by 172 Again, note that the llc does not handle the physical link. It is thus very 173 easy to mix any physical link with any llc for a given chip driver. [all …]
|
/linux-4.4.14/include/uapi/linux/ |
D | if_fc.h | 46 __u8 llc; /* LLC control field */ member
|
D | Kbuild | 245 header-y += llc.h
|
/linux-4.4.14/include/uapi/linux/netfilter_bridge/ |
D | ebt_802_3.h | 52 } llc; member
|
/linux-4.4.14/net/802/ |
D | fc.c | 55 fcllc->llc = UI_CMD; in fc_header()
|
/linux-4.4.14/drivers/nfc/st21nfca/ |
D | vendor_cmds.c | 187 r = nfc_llc_stop(hdev->llc); in st21nfca_hci_dm_reset() 191 return nfc_llc_start(hdev->llc); in st21nfca_hci_dm_reset()
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
D | pc_maint.h | 79 byte llc[6]; member
|
D | message.c | 7946 static byte llc[3] = {2,0,0}; in add_b23() local 8000 llc[1] = 2; in add_b23() 8001 llc[2] = 4; in add_b23() 8002 add_p(plci, LLC, llc); in add_b23() 8015 llc[1] = 1; in add_b23() 8016 llc[2] = 4; in add_b23() 8017 add_p(plci, LLC, llc); in add_b23() 8057 llc[1] = (plci->call_dir & (CALL_DIR_ORIGINATE | CALL_DIR_FORCE_OUTG_NL)) ? 14 : 13; in add_b23() 8058 llc[2] = 4; in add_b23() 8059 add_p(plci, LLC, llc); in add_b23() [all …]
|
/linux-4.4.14/net/ |
D | Makefile | 14 obj-$(CONFIG_LLC) += llc/
|
D | Kconfig | 216 source "net/llc/Kconfig"
|
/linux-4.4.14/samples/bpf/ |
D | Makefile | 68 LLC=$(srctree)/tools/bpf/llvm/bld/Debug+Asserts/bin/llc
|
/linux-4.4.14/net/atm/ |
D | clip.c | 742 int svc, llc, off; in atmarp_info() local 747 llc = ((clip_vcc == SEQ_NO_VCC_TOKEN) || clip_vcc->encap); in atmarp_info() 757 dev->name, svc ? "SVC" : "PVC", llc ? "LLC" : "NULL", exp); in atmarp_info()
|
/linux-4.4.14/Documentation/ |
D | DMA-API.txt | 597 Modules linked in: nfsd exportfs bridge stp llc r8169
|
/linux-4.4.14/ |
D | MAINTAINERS | 6481 F: include/linux/llc.h 6482 F: include/uapi/linux/llc.h 6483 F: include/net/llc* 6484 F: net/llc/
|
/linux-4.4.14/drivers/net/wireless/ |
D | airo.c | 839 } llc; member
|