Home
last modified time | relevance | path

Searched refs:ap (Results 1 – 25 of 33) sorted by relevance

12

/net/irda/irnet/
Dirnet_ppp.c45 irnet_ctrl_write(irnet_socket * ap, in irnet_ctrl_write() argument
54 DENTER(CTRL_TRACE, "(ap=0x%p, count=%Zd)\n", ap, count); in irnet_ctrl_write()
112 memcpy(ap->rname, start + 5, length - 5); in irnet_ctrl_write()
113 ap->rname[length - 5] = '\0'; in irnet_ctrl_write()
116 ap->rname[0] = '\0'; in irnet_ctrl_write()
117 DEBUG(CTRL_INFO, "Got rname = ``%s''\n", ap->rname); in irnet_ctrl_write()
150 ap->rsaddr = addr; in irnet_ctrl_write()
151 DEBUG(CTRL_INFO, "Got rsaddr = %08x\n", ap->rsaddr); in irnet_ctrl_write()
156 ap->rdaddr = addr; in irnet_ctrl_write()
157 DEBUG(CTRL_INFO, "Got rdaddr = %08x\n", ap->rdaddr); in irnet_ctrl_write()
[all …]
Dirnet_irda.c52 irnet_post_event(irnet_socket * ap, in irnet_post_event() argument
62 ap, event, daddr, name); in irnet_post_event()
83 if((ap != (irnet_socket *) NULL) && (ap->ppp_open)) in irnet_post_event()
84 irnet_events.log[index].unit = ppp_unit_number(&ap->chan); in irnet_post_event()
1036 irnet_socket * ap = (irnet_socket *) instance; in irnet_data_indication() local
1041 ap, skb); in irnet_data_indication()
1045 if(!ap->ppp_open) in irnet_data_indication()
1077 ppp_input(&ap->chan, skb); in irnet_data_indication()
1085 ppp_input_error(&ap->chan, code); in irnet_data_indication()
/net/9p/
Dprotocol.c108 va_list ap) in p9pdu_vreadf() argument
116 int8_t *val = va_arg(ap, int8_t *); in p9pdu_vreadf()
124 int16_t *val = va_arg(ap, int16_t *); in p9pdu_vreadf()
134 int32_t *val = va_arg(ap, int32_t *); in p9pdu_vreadf()
144 int64_t *val = va_arg(ap, int64_t *); in p9pdu_vreadf()
154 char **sptr = va_arg(ap, char **); in p9pdu_vreadf()
176 kuid_t *uid = va_arg(ap, kuid_t *); in p9pdu_vreadf()
186 kgid_t *gid = va_arg(ap, kgid_t *); in p9pdu_vreadf()
197 va_arg(ap, struct p9_qid *); in p9pdu_vreadf()
206 va_arg(ap, struct p9_wstat *); in p9pdu_vreadf()
[all …]
Dprotocol.h29 va_list ap);
Dclient.c682 const char *fmt, va_list ap) in p9_client_prepare_req() argument
710 err = p9pdu_vwritef(req->tc, c->proto_version, fmt, ap); in p9_client_prepare_req()
733 va_list ap; in p9_client_rpc() local
738 va_start(ap, fmt); in p9_client_rpc()
739 req = p9_client_prepare_req(c, type, c->msize, fmt, ap); in p9_client_rpc()
740 va_end(ap); in p9_client_rpc()
825 va_list ap; in p9_client_zc_rpc() local
830 va_start(ap, fmt); in p9_client_zc_rpc()
835 req = p9_client_prepare_req(c, type, P9_ZC_HDR_SZ, fmt, ap); in p9_client_zc_rpc()
836 va_end(ap); in p9_client_zc_rpc()
/net/bridge/netfilter/
Debt_arpreply.c24 const struct arphdr *ap; in ebt_arpreply_tg() local
29 ap = skb_header_pointer(skb, 0, sizeof(_ah), &_ah); in ebt_arpreply_tg()
30 if (ap == NULL) in ebt_arpreply_tg()
33 if (ap->ar_op != htons(ARPOP_REQUEST) || in ebt_arpreply_tg()
34 ap->ar_hln != ETH_ALEN || in ebt_arpreply_tg()
35 ap->ar_pro != htons(ETH_P_IP) || in ebt_arpreply_tg()
36 ap->ar_pln != 4) in ebt_arpreply_tg()
Debt_log.c159 const struct arppayload *ap; in ebt_log_packet() local
162 ap = skb_header_pointer(skb, sizeof(_arph), in ebt_log_packet()
164 if (ap == NULL) { in ebt_log_packet()
169 ap->mac_src, ap->ip_src, ap->mac_dst, ap->ip_dst); in ebt_log_packet()
Debt_snat.c30 const struct arphdr *ap; in ebt_snat_tg() local
33 ap = skb_header_pointer(skb, 0, sizeof(_ah), &_ah); in ebt_snat_tg()
34 if (ap == NULL) in ebt_snat_tg()
36 if (ap->ar_hln != ETH_ALEN) in ebt_snat_tg()
/net/ipv4/netfilter/
Dnf_log_arp.c51 const struct arppayload *ap; in dump_arp_packet() local
70 ap = skb_header_pointer(skb, sizeof(_arph), sizeof(_arpp), &_arpp); in dump_arp_packet()
71 if (ap == NULL) { in dump_arp_packet()
77 ap->mac_src, ap->ip_src, ap->mac_dst, ap->ip_dst); in dump_arp_packet()
Dnf_conntrack_l3proto_ipv4.c37 const __be32 *ap; in ipv4_pkt_to_tuple() local
39 ap = skb_header_pointer(skb, nhoff + offsetof(struct iphdr, saddr), in ipv4_pkt_to_tuple()
41 if (ap == NULL) in ipv4_pkt_to_tuple()
44 tuple->src.u3.ip = ap[0]; in ipv4_pkt_to_tuple()
45 tuple->dst.u3.ip = ap[1]; in ipv4_pkt_to_tuple()
/net/ipv6/netfilter/
Dip6t_rt.c49 const struct in6_addr *ap; in rt_mt6() local
133 ap = skb_header_pointer(skb, in rt_mt6()
140 BUG_ON(ap == NULL); in rt_mt6()
142 if (ipv6_addr_equal(ap, &rtinfo->addrs[i])) { in rt_mt6()
163 ap = skb_header_pointer(skb, in rt_mt6()
169 BUG_ON(ap == NULL); in rt_mt6()
171 if (!ipv6_addr_equal(ap, &rtinfo->addrs[temp])) in rt_mt6()
Dnf_conntrack_l3proto_ipv6.c40 const u_int32_t *ap; in ipv6_pkt_to_tuple() local
43 ap = skb_header_pointer(skb, nhoff + offsetof(struct ipv6hdr, saddr), in ipv6_pkt_to_tuple()
45 if (ap == NULL) in ipv6_pkt_to_tuple()
48 memcpy(tuple->src.u3.ip6, ap, sizeof(tuple->src.u3.ip6)); in ipv6_pkt_to_tuple()
49 memcpy(tuple->dst.u3.ip6, ap + 4, sizeof(tuple->dst.u3.ip6)); in ipv6_pkt_to_tuple()
/net/mac80211/
Dcfg.c565 old = sdata_dereference(sdata->u.ap.probe_resp, sdata); in ieee80211_set_probe_resp()
579 rcu_assign_pointer(sdata->u.ap.probe_resp, new); in ieee80211_set_probe_resp()
595 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_assign_beacon()
659 rcu_assign_pointer(sdata->u.ap.beacon, new); in ieee80211_assign_beacon()
682 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_start_ap()
720 list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) { in ieee80211_start_ap()
759 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_start_ap()
763 RCU_INIT_POINTER(sdata->u.ap.beacon, NULL); in ieee80211_start_ap()
772 list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) in ieee80211_start_ap()
794 old = sdata_dereference(sdata->u.ap.beacon, sdata); in ieee80211_change_beacon()
[all …]
Dht.c486 u.ap.request_smps_work); in ieee80211_request_smps_ap_work()
489 if (sdata_dereference(sdata->u.ap.beacon, sdata)) in ieee80211_request_smps_ap_work()
491 sdata->u.ap.driver_smps_mode); in ieee80211_request_smps_ap_work()
514 if (sdata->u.ap.driver_smps_mode == smps_mode) in ieee80211_request_smps()
516 sdata->u.ap.driver_smps_mode = smps_mode; in ieee80211_request_smps()
518 &sdata->u.ap.request_smps_work); in ieee80211_request_smps()
Dtx.c333 !atomic_read(&tx->sdata->u.ap.num_mcast_sta))) { in ieee80211_tx_h_check_assoc()
359 ps = &sdata->u.ap.ps; in purge_old_ps_buffers()
1441 struct ieee80211_sub_if_data, u.ap); in __ieee80211_tx()
2064 u.ap); in ieee80211_build_hdr()
2859 struct ieee80211_sub_if_data, u.ap); in ieee80211_xmit_fast()
3221 resp = rcu_dereference(sdata->u.ap.probe_resp); in ieee80211_set_csa()
3258 beacon = rcu_dereference(sdata->u.ap.beacon); in ieee80211_csa_update_counter()
3288 struct ieee80211_if_ap *ap = &sdata->u.ap; in ieee80211_csa_is_complete() local
3290 beacon = rcu_dereference(ap->beacon); in ieee80211_csa_is_complete()
3361 struct ieee80211_if_ap *ap = &sdata->u.ap; in __ieee80211_beacon_get() local
[all …]
Diface.c312 sdata->bss = &nsdata->u.ap; in ieee80211_check_concurrent_iface()
517 struct ieee80211_sub_if_data, u.ap); in ieee80211_do_open()
535 sdata->bss = &sdata->u.ap; in ieee80211_do_open()
812 cancel_work_sync(&sdata->u.ap.request_smps_work); in ieee80211_do_stop()
895 list_for_each_entry_safe(vlan, tmpsdata, &sdata->u.ap.vlans, in ieee80211_do_stop()
898 WARN_ON(!list_empty(&sdata->u.ap.vlans)); in ieee80211_do_stop()
1399 skb_queue_head_init(&sdata->u.ap.ps.bc_buf); in ieee80211_setup_sdata()
1400 INIT_LIST_HEAD(&sdata->u.ap.vlans); in ieee80211_setup_sdata()
1401 INIT_WORK(&sdata->u.ap.request_smps_work, in ieee80211_setup_sdata()
1404 sdata->u.ap.req_smps = IEEE80211_SMPS_OFF; in ieee80211_setup_sdata()
Ddebugfs_netdev.c290 smps_modes[sdata->u.ap.req_smps], in ieee80211_if_fmt_smps()
477 IEEE80211_IF_FILE(num_mcast_sta, u.ap.num_mcast_sta, ATOMIC);
478 IEEE80211_IF_FILE(num_sta_ps, u.ap.ps.num_sta_ps, ATOMIC);
479 IEEE80211_IF_FILE(dtim_count, u.ap.ps.dtim_count, DEC);
485 skb_queue_len(&sdata->u.ap.ps.bc_buf)); in ieee80211_if_fmt_num_buffered_multicast()
Dkey.c76 list_for_each_entry_rcu(vlan, &sdata->u.ap.vlans, u.vlan.list) in update_vlan_tailroom_need_count()
742 list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) in ieee80211_enable_keys()
764 list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) in ieee80211_reset_crypto_tx_tailroom()
842 list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) in ieee80211_free_keys()
855 u.ap); in ieee80211_free_keys()
866 list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) in ieee80211_free_keys()
Dchan.c812 list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) in __ieee80211_vif_copy_chanctx_to_vlans()
998 list_for_each_entry(vlan, &sdata->u.ap.vlans, u.vlan.list) in ieee80211_vif_update_chandef()
1761 struct ieee80211_sub_if_data *ap; in ieee80211_vif_vlan_copy_chanctx() local
1767 ap = container_of(sdata->bss, struct ieee80211_sub_if_data, u.ap); in ieee80211_vif_vlan_copy_chanctx()
1771 conf = rcu_dereference_protected(ap->vif.chanctx_conf, in ieee80211_vif_vlan_copy_chanctx()
/net/ax25/
Dax25_iface.c48 void ax25_register_pid(struct ax25_protocol *ap) in ax25_register_pid() argument
51 ap->next = protocol_list; in ax25_register_pid()
52 protocol_list = ap; in ax25_register_pid()
/net/appletalk/
Dddp.c1119 struct atalk_addr *ap = atalk_find_primary(); in atalk_autobind() local
1122 if (!ap || ap->s_net == htons(ATADDR_ANYNET)) in atalk_autobind()
1125 at->src_net = sat.sat_addr.s_net = ap->s_net; in atalk_autobind()
1126 at->src_node = sat.sat_addr.s_node = ap->s_node; in atalk_autobind()
1152 struct atalk_addr *ap = atalk_find_primary(); in atalk_bind() local
1155 if (!ap) in atalk_bind()
1158 at->src_net = addr->sat_addr.s_net = ap->s_net; in atalk_bind()
1159 at->src_node = addr->sat_addr.s_node = ap->s_node; in atalk_bind()
1524 struct atalk_addr *ap = atalk_find_dev_addr(dev); in ltalk_rcv() local
1526 if (!ap || skb->len < sizeof(__be16) || skb->len > 1023) in ltalk_rcv()
[all …]
/net/rds/
Dconnection.c581 va_list ap; in __rds_conn_error() local
583 va_start(ap, fmt); in __rds_conn_error()
584 vprintk(fmt, ap); in __rds_conn_error()
585 va_end(ap); in __rds_conn_error()
Diw_cm.c762 va_list ap; in __rds_iw_conn_error() local
766 va_start(ap, fmt); in __rds_iw_conn_error()
767 vprintk(fmt, ap); in __rds_iw_conn_error()
768 va_end(ap); in __rds_iw_conn_error()
Dib_cm.c937 va_list ap; in __rds_ib_conn_error() local
941 va_start(ap, fmt); in __rds_ib_conn_error()
942 vprintk(fmt, ap); in __rds_ib_conn_error()
943 va_end(ap); in __rds_ib_conn_error()
/net/wireless/
DMakefile13 cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o ap.o trace.o ocb.o

12