/net/unix/ |
D | garbage.c | 116 struct unix_sock *u = unix_sk(sk); in scan_inflight() local 122 if (test_bit(UNIX_GC_CANDIDATE, &u->gc_flags)) { in scan_inflight() 125 func(u); in scan_inflight() 146 struct unix_sock *u; in scan_children() local 154 u = unix_sk(skb->sk); in scan_children() 159 BUG_ON(!list_empty(&u->link)); in scan_children() 160 list_add_tail(&u->link, &embryos); in scan_children() 165 u = list_entry(embryos.next, struct unix_sock, link); in scan_children() 166 scan_inflight(&u->sk, func, hitlist); in scan_children() 167 list_del_init(&u->link); in scan_children() [all …]
|
D | af_unix.c | 290 struct unix_sock *u = unix_sk(s); in __unix_find_socket_byname() local 295 if (u->addr->len == len && in __unix_find_socket_byname() 296 !memcmp(u->addr->name, sunname, len)) in __unix_find_socket_byname() 367 struct unix_sock *u; in unix_dgram_peer_wake_relay() local 370 u = container_of(q, struct unix_sock, peer_wake); in unix_dgram_peer_wake_relay() 372 __remove_wait_queue(&unix_sk(u->peer_wake.private)->peer_wait, in unix_dgram_peer_wake_relay() 374 u->peer_wake.private = NULL; in unix_dgram_peer_wake_relay() 377 u_sleep = sk_sleep(&u->sk); in unix_dgram_peer_wake_relay() 386 struct unix_sock *u, *u_other; in unix_dgram_peer_wake_connect() local 389 u = unix_sk(sk); in unix_dgram_peer_wake_connect() [all …]
|
D | scm.c | 51 struct unix_sock *u = unix_sk(s); in unix_inflight() local 53 if (atomic_long_inc_return(&u->inflight) == 1) { in unix_inflight() 54 BUG_ON(!list_empty(&u->link)); in unix_inflight() 55 list_add_tail(&u->link, &gc_inflight_list); in unix_inflight() 57 BUG_ON(list_empty(&u->link)); in unix_inflight() 73 struct unix_sock *u = unix_sk(s); in unix_notinflight() local 75 BUG_ON(!atomic_long_read(&u->inflight)); in unix_notinflight() 76 BUG_ON(list_empty(&u->link)); in unix_notinflight() 78 if (atomic_long_dec_and_test(&u->inflight)) in unix_notinflight() 79 list_del_init(&u->link); in unix_notinflight()
|
/net/mac80211/ |
D | spectmgmt.c | 208 skb_put(skb, 1 + sizeof(msr_report->u.action.u.measurement)); in ieee80211_send_refuse_measurement_request() 209 msr_report->u.action.category = WLAN_CATEGORY_SPECTRUM_MGMT; in ieee80211_send_refuse_measurement_request() 210 msr_report->u.action.u.measurement.action_code = in ieee80211_send_refuse_measurement_request() 212 msr_report->u.action.u.measurement.dialog_token = dialog_token; in ieee80211_send_refuse_measurement_request() 214 msr_report->u.action.u.measurement.element_id = WLAN_EID_MEASURE_REPORT; in ieee80211_send_refuse_measurement_request() 215 msr_report->u.action.u.measurement.length = in ieee80211_send_refuse_measurement_request() 218 memset(&msr_report->u.action.u.measurement.msr_elem, 0, in ieee80211_send_refuse_measurement_request() 220 msr_report->u.action.u.measurement.msr_elem.token = request_ie->token; in ieee80211_send_refuse_measurement_request() 221 msr_report->u.action.u.measurement.msr_elem.mode |= in ieee80211_send_refuse_measurement_request() 223 msr_report->u.action.u.measurement.msr_elem.type = request_ie->type; in ieee80211_send_refuse_measurement_request() [all …]
|
D | ht.c | 58 ht_capa = &sdata->u.mgd.ht_capa; in ieee80211_apply_htcap_overrides() 59 ht_capa_mask = &sdata->u.mgd.ht_capa_mask; in ieee80211_apply_htcap_overrides() 62 ht_capa = &sdata->u.ibss.ht_capa; in ieee80211_apply_htcap_overrides() 63 ht_capa_mask = &sdata->u.ibss.ht_capa_mask; in ieee80211_apply_htcap_overrides() 381 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_delba() 383 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_delba() 388 skb_put(skb, 1 + sizeof(mgmt->u.action.u.delba)); in ieee80211_send_delba() 390 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_delba() 391 mgmt->u.action.u.delba.action_code = WLAN_ACTION_DELBA; in ieee80211_send_delba() 395 mgmt->u.action.u.delba.params = cpu_to_le16(params); in ieee80211_send_delba() [all …]
|
D | debugfs_netdev.c | 240 IEEE80211_IF_FILE(bssid, u.mgd.bssid, MAC); 241 IEEE80211_IF_FILE(aid, u.mgd.aid, DEC); 242 IEEE80211_IF_FILE(beacon_timeout, u.mgd.beacon_timeout, JIFFIES_TO_MS); 286 smps_modes[sdata->u.mgd.req_smps], in ieee80211_if_fmt_smps() 290 smps_modes[sdata->u.ap.req_smps], in ieee80211_if_fmt_smps() 349 if (!sdata->u.mgd.associated) { in ieee80211_if_parse_tkip_mic_test() 354 memcpy(hdr->addr1, sdata->u.mgd.associated->bssid, ETH_ALEN); in ieee80211_if_parse_tkip_mic_test() 395 const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_fmt_uapsd_queues() 403 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_parse_uapsd_queues() 423 const struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_if_fmt_uapsd_max_sp_len() [all …]
|
D | tkip.c | 147 lockdep_assert_held(&key->u.tkip.txlock); in ieee80211_tkip_add_iv() 149 pos = write_tkip_iv(pos, key->u.tkip.tx.iv16); in ieee80211_tkip_add_iv() 151 put_unaligned_le32(key->u.tkip.tx.iv32, pos); in ieee80211_tkip_add_iv() 158 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_compute_tkip_p1k() 161 lockdep_assert_held(&key->u.tkip.txlock); in ieee80211_compute_tkip_p1k() 179 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_get_tkip_p1k_iv() 181 spin_lock_bh(&key->u.tkip.txlock); in ieee80211_get_tkip_p1k_iv() 184 spin_unlock_bh(&key->u.tkip.txlock); in ieee80211_get_tkip_p1k_iv() 205 struct tkip_ctx *ctx = &key->u.tkip.tx; in ieee80211_get_tkip_p2k() 211 spin_lock(&key->u.tkip.txlock); in ieee80211_get_tkip_p2k() [all …]
|
D | mesh.c | 22 return (mgmt->u.action.u.mesh_action.action_code == in mesh_action_is_path_sel() 46 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer() 65 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local() 138 if (free_plinks != sdata->u.mesh.accepting_plinks) { in mesh_accept_plinks_update() 139 sdata->u.mesh.accepting_plinks = free_plinks; in mesh_accept_plinks_update() 161 if (sdata->u.mesh.user_mpm && in mesh_sta_cleanup() 165 if (!sdata->u.mesh.user_mpm) { in mesh_sta_cleanup() 182 sdata->u.mesh.rmc = kmalloc(sizeof(struct mesh_rmc), GFP_KERNEL); in mesh_rmc_init() 183 if (!sdata->u.mesh.rmc) in mesh_rmc_init() 185 sdata->u.mesh.rmc->idx_mask = RMC_BUCKETS - 1; in mesh_rmc_init() [all …]
|
D | key.c | 76 list_for_each_entry_rcu(vlan, &sdata->u.ap.vlans, u.vlan.list) in update_vlan_tailroom_need_count() 413 key->u.tkip.rx[i].iv32 = in ieee80211_key_alloc() 415 key->u.tkip.rx[i].iv16 = in ieee80211_key_alloc() 419 spin_lock_init(&key->u.tkip.txlock); in ieee80211_key_alloc() 427 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc() 434 key->u.ccmp.tfm = ieee80211_aes_key_setup_encrypt( in ieee80211_key_alloc() 436 if (IS_ERR(key->u.ccmp.tfm)) { in ieee80211_key_alloc() 437 err = PTR_ERR(key->u.ccmp.tfm); in ieee80211_key_alloc() 447 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc() 452 key->u.ccmp.tfm = ieee80211_aes_key_setup_encrypt( in ieee80211_key_alloc() [all …]
|
D | ibss.c | 47 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_build_presp() 84 mgmt->u.beacon.beacon_int = cpu_to_le16(beacon_int); in ieee80211_ibss_build_presp() 85 mgmt->u.beacon.timestamp = cpu_to_le64(tsf); in ieee80211_ibss_build_presp() 86 mgmt->u.beacon.capab_info = cpu_to_le16(capability); in ieee80211_ibss_build_presp() 88 pos = (u8 *)mgmt + offsetof(struct ieee80211_mgmt, u.beacon.variable); in ieee80211_ibss_build_presp() 227 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in __ieee80211_sta_join_ibss() 420 switch (sdata->u.ibss.chandef.width) { in ieee80211_sta_join_ibss() 424 chan_type = cfg80211_get_chandef_type(&sdata->u.ibss.chandef); in ieee80211_sta_join_ibss() 431 chandef.width = sdata->u.ibss.chandef.width; in ieee80211_sta_join_ibss() 435 chandef = sdata->u.ibss.chandef; in ieee80211_sta_join_ibss() [all …]
|
D | agg-rx.c | 217 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_resp() 219 memcpy(mgmt->bssid, sdata->u.ibss.bssid, ETH_ALEN); in ieee80211_send_addba_resp() 224 skb_put(skb, 1 + sizeof(mgmt->u.action.u.addba_resp)); in ieee80211_send_addba_resp() 225 mgmt->u.action.category = WLAN_CATEGORY_BACK; in ieee80211_send_addba_resp() 226 mgmt->u.action.u.addba_resp.action_code = WLAN_ACTION_ADDBA_RESP; in ieee80211_send_addba_resp() 227 mgmt->u.action.u.addba_resp.dialog_token = dialog_token; in ieee80211_send_addba_resp() 234 mgmt->u.action.u.addba_resp.capab = cpu_to_le16(capab); in ieee80211_send_addba_resp() 235 mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout); in ieee80211_send_addba_resp() 236 mgmt->u.action.u.addba_resp.status = cpu_to_le16(status); in ieee80211_send_addba_resp() 393 dialog_token = mgmt->u.action.u.addba_req.dialog_token; in ieee80211_process_addba_request() [all …]
|
D | mlme.c | 104 if (!timer_pending(&sdata->u.mgd.timer) || in run_again() 105 time_before(timeout, sdata->u.mgd.timer.expires)) in run_again() 106 mod_timer(&sdata->u.mgd.timer, timeout); in run_again() 117 mod_timer(&sdata->u.mgd.bcn_mon_timer, in ieee80211_sta_reset_beacon_monitor() 118 round_jiffies_up(jiffies + sdata->u.mgd.beacon_timeout)); in ieee80211_sta_reset_beacon_monitor() 123 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_sta_reset_conn_monitor() 125 if (unlikely(!sdata->u.mgd.associated)) in ieee80211_sta_reset_conn_monitor() 133 mod_timer(&sdata->u.mgd.conn_mon_timer, in ieee80211_sta_reset_conn_monitor() 151 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_determine_chantype() 343 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_config_bw() [all …]
|
D | tdls.c | 29 u.mgd.tdls_peer_del_work.work); in ieee80211_tdls_peer_del_work() 33 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work() 34 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() 35 sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() 36 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() 45 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_ext_capab() 215 memcpy(lnkid->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_tdls_add_link_ie() 223 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_aid() 544 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_setup_cfm_ies() 652 tf->u.chan_switch_req.target_channel = in ieee80211_tdls_add_chan_switch_req_ies() [all …]
|
D | mesh_hwmp.c | 81 msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPnetDiameterTraversalTime) 83 MSEC_TO_TU(s->u.mesh.mshcfg.dot11MeshHWMPactivePathTimeout) 85 (msecs_to_jiffies(s->u.mesh.mshcfg.dot11MeshHWMPpreqMinInterval)) 86 #define max_preq_retries(s) (s->u.mesh.mshcfg.dot11MeshHWMPmaxPREQretries) 88 msecs_to_jiffies(sdata->u.mesh.mshcfg.min_discovery_timeout) 90 msecs_to_jiffies(sdata->u.mesh.mshcfg.dot11MeshHWMPconfirmationInterval) 113 int hdr_len = offsetof(struct ieee80211_mgmt, u.action.u.mesh_action) + in mesh_path_sel_frame_tx() 114 sizeof(mgmt->u.action.u.mesh_action); in mesh_path_sel_frame_tx() 131 mgmt->u.action.category = WLAN_CATEGORY_MESH_ACTION; in mesh_path_sel_frame_tx() 132 mgmt->u.action.u.mesh_action.action_code = in mesh_path_sel_frame_tx() [all …]
|
/net/caif/ |
D | cfctrl.c | 90 return p1->u.datagram.connid == p2->u.datagram.connid; in param_eq() 93 p1->u.rfm.connid == p2->u.rfm.connid && in param_eq() 94 strcmp(p1->u.rfm.volume, p2->u.rfm.volume) == 0; in param_eq() 97 p1->u.utility.fifosize_kb == p2->u.utility.fifosize_kb in param_eq() 98 && p1->u.utility.fifosize_bufs == in param_eq() 99 p2->u.utility.fifosize_bufs in param_eq() 100 && strcmp(p1->u.utility.name, p2->u.utility.name) == 0 in param_eq() 101 && p1->u.utility.paramlen == p2->u.utility.paramlen in param_eq() 102 && memcmp(p1->u.utility.params, p2->u.utility.params, in param_eq() 103 p1->u.utility.paramlen) == 0; in param_eq() [all …]
|
D | cfcnfg.c | 254 l->endpoint = (s->sockaddr.u.at.type >> 2) & 0x3; in caif_connect_req_to_link_param() 255 l->chtype = s->sockaddr.u.at.type & 0x3; in caif_connect_req_to_link_param() 260 l->u.datagram.connid = s->sockaddr.u.dgm.connection_id; in caif_connect_req_to_link_param() 266 l->u.datagram.connid = s->sockaddr.u.dgm.connection_id; in caif_connect_req_to_link_param() 270 l->u.datagram.connid = s->sockaddr.u.rfm.connection_id; in caif_connect_req_to_link_param() 271 strncpy(l->u.rfm.volume, s->sockaddr.u.rfm.volume, in caif_connect_req_to_link_param() 272 sizeof(l->u.rfm.volume)-1); in caif_connect_req_to_link_param() 273 l->u.rfm.volume[sizeof(l->u.rfm.volume)-1] = 0; in caif_connect_req_to_link_param() 279 strncpy(l->u.utility.name, s->sockaddr.u.util.service, in caif_connect_req_to_link_param() 280 sizeof(l->u.utility.name)-1); in caif_connect_req_to_link_param() [all …]
|
/net/ipv4/netfilter/ |
D | nf_conntrack_proto_icmp.c | 42 tuple->dst.u.icmp.type = hp->type; in icmp_pkt_to_tuple() 43 tuple->src.u.icmp.id = hp->un.echo.id; in icmp_pkt_to_tuple() 44 tuple->dst.u.icmp.code = hp->code; in icmp_pkt_to_tuple() 64 if (orig->dst.u.icmp.type >= sizeof(invmap) || in icmp_invert_tuple() 65 !invmap[orig->dst.u.icmp.type]) in icmp_invert_tuple() 68 tuple->src.u.icmp.id = orig->src.u.icmp.id; in icmp_invert_tuple() 69 tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; in icmp_invert_tuple() 70 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmp_invert_tuple() 79 tuple->dst.u.icmp.type, in icmp_print_tuple() 80 tuple->dst.u.icmp.code, in icmp_print_tuple() [all …]
|
D | nf_nat_h323.c | 159 port == ct->tuplehash[dir].tuple.src.u.udp.port) { in set_ras_addr() 163 ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port)); in set_ras_addr() 167 dst.u.udp.port); in set_ras_addr() 189 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp() 192 rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp() 203 rtp_exp->tuple.dst.u.udp.port = info->rtp_port[i][dir]; in nat_rtp_rtcp() 204 rtcp_exp->tuple.dst.u.udp.port = in nat_rtp_rtcp() 220 for (nated_port = ntohs(rtp_exp->tuple.dst.u.udp.port); in nat_rtp_rtcp() 224 rtp_exp->tuple.dst.u.udp.port = htons(nated_port); in nat_rtp_rtcp() 227 rtcp_exp->tuple.dst.u.udp.port = in nat_rtp_rtcp() [all …]
|
/net/ipv6/netfilter/ |
D | nf_conntrack_proto_icmpv6.c | 48 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple() 49 tuple->src.u.icmp.id = hp->icmp6_identifier; in icmpv6_pkt_to_tuple() 50 tuple->dst.u.icmp.code = hp->icmp6_code; in icmpv6_pkt_to_tuple() 77 int type = orig->dst.u.icmp.type - 128; in icmpv6_invert_tuple() 81 tuple->src.u.icmp.id = orig->src.u.icmp.id; in icmpv6_invert_tuple() 82 tuple->dst.u.icmp.type = invmap[type] - 1; in icmpv6_invert_tuple() 83 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmpv6_invert_tuple() 92 tuple->dst.u.icmp.type, in icmpv6_print_tuple() 93 tuple->dst.u.icmp.code, in icmpv6_print_tuple() 94 ntohs(tuple->src.u.icmp.id)); in icmpv6_print_tuple() [all …]
|
/net/sunrpc/ |
D | sched.c | 71 list_del(&task->u.tk_wait.timer_list); in __rpc_disable_timer() 95 task->u.tk_wait.expires = jiffies + task->tk_timeout; in __rpc_add_timer() 96 …if (list_empty(&queue->timer_list.list) || time_before(task->u.tk_wait.expires, queue->timer_list.… in __rpc_add_timer() 97 rpc_set_queue_timer(queue, task->u.tk_wait.expires); in __rpc_add_timer() 98 list_add(&task->u.tk_wait.timer_list, &queue->timer_list.list); in __rpc_add_timer() 122 list_for_each_entry(t, q, u.tk_wait.list) { in __rpc_list_enqueue_task() 124 list_add_tail(&task->u.tk_wait.links, in __rpc_list_enqueue_task() 125 &t->u.tk_wait.links); in __rpc_list_enqueue_task() 127 task->u.tk_wait.list.next = q; in __rpc_list_enqueue_task() 128 task->u.tk_wait.list.prev = NULL; in __rpc_list_enqueue_task() [all …]
|
/net/netfilter/ |
D | nft_log.c | 77 li->u.log.level = in nft_log_init() 80 li->u.log.level = LOGLEVEL_WARNING; in nft_log_init() 83 li->u.log.logflags = in nft_log_init() 88 li->u.ulog.group = ntohs(nla_get_be16(tb[NFTA_LOG_GROUP])); in nft_log_init() 90 li->u.ulog.copy_len = in nft_log_init() 94 li->u.ulog.qthreshold = in nft_log_init() 143 if (nla_put_be32(skb, NFTA_LOG_LEVEL, htonl(li->u.log.level))) in nft_log_dump() 146 if (li->u.log.logflags) { in nft_log_dump() 148 htonl(li->u.log.logflags))) in nft_log_dump() 153 if (nla_put_be16(skb, NFTA_LOG_GROUP, htons(li->u.ulog.group))) in nft_log_dump() [all …]
|
D | x_tables.c | 285 xt_obj_to_user(&U->u.TYPE##_size, C_SIZE ? : K->u.TYPE##_size, \ 286 U->u.user.name, K->u.kernel.TYPE->name, \ 287 &U->u.user.revision, K->u.kernel.TYPE->revision) 304 K->u.kernel.TYPE->usersize, \ 305 C_SIZE ? : K->u.kernel.TYPE->TYPE##size) 308 struct xt_entry_match __user *u) in xt_match_to_user() argument 310 return XT_OBJ_TO_USER(u, m, match, 0) || in xt_match_to_user() 311 XT_DATA_TO_USER(u, m, match, 0); in xt_match_to_user() 316 struct xt_entry_target __user *u) in xt_target_to_user() argument 318 return XT_OBJ_TO_USER(u, t, target, 0) || in xt_target_to_user() [all …]
|
/net/ipv4/ |
D | inetpeer.c | 168 struct inet_peer *u; \ 173 for (u = rcu_deref_locked(_base->root, _base); \ 174 u != peer_avl_empty;) { \ 175 int cmp = inetpeer_addr_cmp(_daddr, &u->daddr); \ 179 v = &u->avl_left; \ 181 v = &u->avl_right; \ 183 u = rcu_deref_locked(*v, _base); \ 185 u; \ 198 struct inet_peer *u = rcu_dereference(base->root); in lookup_rcu() local 201 while (u != peer_avl_empty) { in lookup_rcu() [all …]
|
/net/ipv6/ |
D | xfrm6_policy.c | 88 path->u.rt6.rt6i_nfheader_len = nfheader_len; in xfrm6_init_path() 98 xdst->u.dst.dev = dev; in xfrm6_fill_dst() 101 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst() 102 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst() 109 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst() 111 xdst->u.rt6.rt6i_metric = rt->rt6i_metric; in xfrm6_fill_dst() 112 xdst->u.rt6.rt6i_node = rt->rt6i_node; in xfrm6_fill_dst() 114 xdst->u.rt6.rt6i_gateway = rt->rt6i_gateway; in xfrm6_fill_dst() 115 xdst->u.rt6.rt6i_dst = rt->rt6i_dst; in xfrm6_fill_dst() 116 xdst->u.rt6.rt6i_src = rt->rt6i_src; in xfrm6_fill_dst() [all …]
|
/net/sched/ |
D | act_ipt.c | 40 target = xt_request_find_target(AF_INET, t->u.user.name, in ipt_init_target() 41 t->u.user.revision); in ipt_init_target() 45 t->u.kernel.target = target; in ipt_init_target() 54 ret = xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in ipt_init_target() 56 module_put(t->u.kernel.target->me); in ipt_init_target() 65 .target = t->u.kernel.target, in ipt_destroy_target() 112 if (nla_len(tb[TCA_IPT_TARG]) < td->u.target_size) in tcf_ipt_init() 143 t = kmemdup(td, td->u.target_size, GFP_KERNEL); in tcf_ipt_init() 198 par.target = ipt->tcfi_t->u.kernel.target; in tcf_ipt() 237 t = kmemdup(ipt->tcfi_t, ipt->tcfi_t->u.user.target_size, GFP_ATOMIC); in tcf_ipt_dump() [all …]
|