/net/ipv4/netfilter/ |
H A D | arpt_mangle.c | 9 MODULE_DESCRIPTION("arptables arp payload mangle target"); 12 target(struct sk_buff *skb, const struct xt_action_param *par) function 54 return mangle->target; 65 if (mangle->target != NF_DROP && mangle->target != NF_ACCEPT && 66 mangle->target != XT_CONTINUE) 74 .target = target,
|
H A D | nf_nat_l3proto_ipv4.c | 81 const struct nf_conntrack_tuple *target, 94 target, maniptype)) 99 csum_replace4(&iph->check, iph->saddr, target->src.u3.ip); 100 iph->saddr = target->src.u3.ip; 102 csum_replace4(&iph->check, iph->daddr, target->dst.u3.ip); 103 iph->daddr = target->dst.u3.ip; 199 struct nf_conntrack_tuple target; local 244 nf_ct_invert_tuplepr(&target, &ct->tuplehash[!dir].tuple); 246 if (!nf_nat_ipv4_manip_pkt(skb, 0, l4proto, &target, manip)) 78 nf_nat_ipv4_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, const struct nf_nat_l4proto *l4proto, const struct nf_conntrack_tuple *target, enum nf_nat_manip_type maniptype) argument
|
/net/bridge/netfilter/ |
H A D | ebt_mark.c | 11 /* The mark target can be used in any chain, 25 int action = info->target & -16; 36 return info->target | ~EBT_VERDICT_BITS; 44 tmp = info->target | ~EBT_VERDICT_BITS; 49 tmp = info->target & ~EBT_VERDICT_BITS; 58 compat_uint_t target; member in struct:compat_ebt_mark_t_info 67 kern->target = user->target; 76 put_user(kern->target, &user->target)) [all...] |
/net/ipv6/ |
H A D | exthdrs_core.c | 161 * if target < 0. "last header" is transport protocol header, ESP, or 168 * If target header is found, its offset is set in *offset and return protocol 181 * IP6_FH_F_AUTH flag is set and target < 0, then this function will 186 int target, unsigned short *fragoff, int *flags) 212 found = (nexthdr == target); 215 if (target < 0) 253 if (target < 0 && 267 if (flags && (*flags & IP6_FH_F_AUTH) && (target < 0)) 185 ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset, int target, unsigned short *fragoff, int *flags) argument
|
/net/nfc/nci/ |
H A D | ntf.c | 160 struct nfc_target *target, 185 pr_err("the target found does not have the desired protocol\n"); 192 target->sens_res = nfca_poll->sens_res; 193 target->sel_res = nfca_poll->sel_res; 194 target->nfcid1_len = nfca_poll->nfcid1_len; 195 if (target->nfcid1_len > 0) { 196 memcpy(target->nfcid1, nfca_poll->nfcid1, 197 target->nfcid1_len); 202 target->sensb_res_len = nfcb_poll->sensb_res_len; 203 if (target 159 nci_add_new_protocol(struct nci_dev *ndev, struct nfc_target *target, __u8 rf_protocol, __u8 rf_tech_and_mode, void *params) argument 230 struct nfc_target *target; local 396 struct nfc_target *target; local [all...] |
H A D | core.c | 449 pr_err("there is an active target\n"); 455 pr_debug("target active or w4 select, implicitly deactivate\n"); 495 struct nfc_target *target, __u32 protocol) 503 pr_debug("target_idx %d, protocol 0x%x\n", target->idx, protocol); 507 pr_err("there is no available target to activate\n"); 512 pr_err("there is already an active target\n"); 517 if (ndev->targets[i].idx == target->idx) { 524 pr_err("unable to find the selected target\n"); 529 pr_err("target does not support the requested protocol 0x%x\n", 561 struct nfc_target *target) 494 nci_activate_target(struct nfc_dev *nfc_dev, struct nfc_target *target, __u32 protocol) argument 560 nci_deactivate_target(struct nfc_dev *nfc_dev, struct nfc_target *target) argument 580 nci_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, __u8 comm_mode, __u8 *gb, size_t gb_len) argument 611 nci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target, struct sk_buff *skb, data_exchange_cb_t cb, void *cb_context) argument [all...] |
/net/phonet/ |
H A D | datagram.c | 89 struct sockaddr_pn *target; local 103 target = (struct sockaddr_pn *)msg->msg_name; 104 if (target->spn_family != AF_PHONET) 123 err = pn_skb_send(sk, skb, target);
|
H A D | af_phonet.c | 238 const struct sockaddr_pn *target) 248 if (target != NULL) { 249 dst = pn_sockaddr_get_object(target); 250 res = pn_sockaddr_get_resource(target); 237 pn_skb_send(struct sock *sk, struct sk_buff *skb, const struct sockaddr_pn *target) argument
|
/net/sched/ |
H A D | sch_codel.c | 131 u32 target = nla_get_u32(tb[TCA_CODEL_TARGET]); local 133 q->params.target = ((u64)target * NSEC_PER_USEC) >> CODEL_SHIFT; 196 codel_time_to_us(q->params.target)) ||
|
H A D | act_ipt.c | 2 * net/sched/ipt.c iptables target interface 45 struct xt_target *target; local 48 target = xt_request_find_target(AF_INET, t->u.user.name, 50 if (IS_ERR(target)) 51 return PTR_ERR(target); 53 t->u.kernel.target = target; 56 par.target = target; 63 module_put(t->u.kernel.target [all...] |
H A D | sch_fq_codel.c | 324 u64 target = nla_get_u32(tb[TCA_FQ_CODEL_TARGET]); local 326 q->cparams.target = (target * NSEC_PER_USEC) >> CODEL_SHIFT; 440 codel_time_to_us(q->cparams.target)) ||
|
/net/ipv6/netfilter/ |
H A D | nf_nat_l3proto_ipv6.c | 80 const struct nf_conntrack_tuple *target, 100 target, maniptype)) 104 ipv6h->saddr = target->src.u3.in6; 106 ipv6h->daddr = target->dst.u3.in6; 205 struct nf_conntrack_tuple target; local 251 nf_ct_invert_tuplepr(&target, &ct->tuplehash[!dir].tuple); 253 if (!nf_nat_ipv6_manip_pkt(skb, 0, l4proto, &target, manip)) 77 nf_nat_ipv6_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, const struct nf_nat_l4proto *l4proto, const struct nf_conntrack_tuple *target, enum nf_nat_manip_type maniptype) argument
|
/net/sunrpc/xprtrdma/ |
H A D | rpc_rdma.c | 170 rpcrdma_create_chunks(struct rpc_rqst *rqst, struct xdr_buf *target, argument 198 pos = target->head[0].iov_len; 200 nsegs = rpcrdma_convert_iovs(target, pos, type, seg, RPCRDMA_MAX_SEGS); 488 * they land, packed, directly in the target buffers
|
/net/vmw_vsock/ |
H A D | vmci_transport_notify.c | 347 size_t target, bool *data_ready_now) 371 size_t target, bool *space_avail_now) 401 size_t target, 412 if (PKT_FIELD(vsk, write_notify_min_window) < target + 1) { 413 PKT_FIELD(vsk, write_notify_min_window) = target + 1; 437 size_t target, 443 if (!send_waiting_read(sk, target)) { 463 size_t target, 483 size_t target, 346 vmci_transport_notify_pkt_poll_in(struct sock *sk, size_t target, bool *data_ready_now) argument 370 vmci_transport_notify_pkt_poll_out(struct sock *sk, size_t target, bool *space_avail_now) argument 399 vmci_transport_notify_pkt_recv_init( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) argument 435 vmci_transport_notify_pkt_recv_pre_block( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) argument 461 vmci_transport_notify_pkt_recv_pre_dequeue( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) argument 481 vmci_transport_notify_pkt_recv_post_dequeue( struct sock *sk, size_t target, ssize_t copied, bool data_read, struct vmci_transport_recv_notify_data *data) argument
|
H A D | vmci_transport_notify_qstate.c | 168 size_t target, bool *data_ready_now) 189 size_t target, bool *space_avail_now) 211 size_t target, 220 if (PKT_FIELD(vsk, write_notify_min_window) < target + 1) { 221 PKT_FIELD(vsk, write_notify_min_window) = target + 1; 243 size_t target, 263 size_t target, 399 size_t target, 167 vmci_transport_notify_pkt_poll_in(struct sock *sk, size_t target, bool *data_ready_now) argument 188 vmci_transport_notify_pkt_poll_out(struct sock *sk, size_t target, bool *space_avail_now) argument 209 vmci_transport_notify_pkt_recv_init( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) argument 241 vmci_transport_notify_pkt_recv_pre_block( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) argument 261 vmci_transport_notify_pkt_recv_post_dequeue( struct sock *sk, size_t target, ssize_t copied, bool data_read, struct vmci_transport_recv_notify_data *data) argument 397 vmci_transport_notify_pkt_recv_pre_dequeue( struct sock *sk, size_t target, struct vmci_transport_recv_notify_data *data) argument
|
/net/bluetooth/ |
H A D | af_bluetooth.c | 318 size_t target, copied = 0; local 330 target = sock_rcvlowat(sk, flags & MSG_WAITALL, size); 339 if (copied >= target)
|
/net/core/ |
H A D | fib_rules.c | 237 struct fib_rule *target; local 239 target = rcu_dereference(rule->ctarget); 240 if (target == NULL) { 243 rule = target; 371 rule->target = nla_get_u32(tb[FRA_GOTO]); 373 if (rule->target <= rule->pref) 377 if (r->pref == rule->target) { 425 r->target == rule->pref && 532 * Check if this rule is a target to any of them. If so, 626 (rule->target [all...] |
/net/mac80211/ |
H A D | rc80211_pid.h | 37 * percentage to the target. This is intentional. 125 * @target: target percentage for failed frames 143 struct dentry *target; member in struct:rc_pid_debugfs_entries 181 /* Average failed frames percentage error (i.e. actual vs. target 245 /* The failed frames percentage target. */ 246 unsigned int target; member in struct:rc_pid_info
|
/net/nfc/ |
H A D | core.c | 150 * The device remains polling for targets until a target is found or 157 pr_debug("dev_name %s initiator protocols 0x%x target protocols 0x%x\n", 243 struct nfc_target *target; local 268 target = nfc_find_target(dev, target_index); 269 if (target == NULL) { 274 rc = dev->ops->dep_link_up(dev, target, comm_mode, gb, gb_len); 276 dev->active_target = target; 333 * nfc_activate_target - prepare the target for data exchange 335 * @dev: The nfc device that found the target 336 * @target_idx: index of the target tha 342 struct nfc_target *target; local [all...] |
H A D | netlink.c | 66 static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target, argument 78 if (nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target->idx) || 79 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) || 80 nla_put_u16(msg, NFC_ATTR_TARGET_SENS_RES, target->sens_res) || 81 nla_put_u8(msg, NFC_ATTR_TARGET_SEL_RES, target->sel_res)) 83 if (target->nfcid1_len > 0 && 84 nla_put(msg, NFC_ATTR_TARGET_NFCID1, target->nfcid1_len, 85 target->nfcid1)) 87 if (target->sensb_res_len > 0 && 88 nla_put(msg, NFC_ATTR_TARGET_SENSB_RES, target [all...] |
/net/openvswitch/ |
H A D | flow.h | 74 u8 tha[ETH_ALEN]; /* ARP target hardware address. */ 89 struct in6_addr target; /* ND target address. */ member in struct:sw_flow_key::__anon115::__anon121::__anon124 91 u8 tll[ETH_ALEN]; /* ND target link layer address. */ 122 unsigned char ar_tha[ETH_ALEN]; /* target hardware address */ 123 unsigned char ar_tip[4]; /* target IP address */
|
/net/caif/ |
H A D | caif_socket.c | 360 int target; local 379 target = sock_rcvlowat(sk, flags&MSG_WAITALL, size); 395 if (copied >= target)
|
/net/llc/ |
H A D | af_llc.c | 720 int target; /* Read at least this many bytes */ local 738 target = sock_rcvlowat(sk, flags & MSG_WAITALL, len); 765 if (copied >= target && !sk->sk_backlog.tail) 803 if (copied >= target) { /* Do not sleep, just process backlog. */
|
/net/netfilter/ |
H A D | nf_nat_core.c | 454 struct nf_conntrack_tuple target; local 457 nf_ct_invert_tuplepr(&target, &ct->tuplehash[!dir].tuple); 459 l3proto = __nf_nat_l3proto_find(target.src.l3num); 460 l4proto = __nf_nat_l4proto_find(target.src.l3num, 461 target.dst.protonum); 462 if (!l3proto->manip_pkt(skb, 0, l4proto, &target, mtype))
|
/net/nfc/hci/ |
H A D | core.c | 316 * single target to activate, so nothing to report 568 static int hci_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, argument 574 return hdev->ops->dep_link_up(hdev, target, comm_mode, 591 struct nfc_target *target, u32 protocol) 597 struct nfc_target *target) 626 static int hci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target, argument 633 pr_debug("target_idx=%d\n", target->idx); 635 switch (target->hci_reader_gate) { 639 r = hdev->ops->im_transceive(hdev, target, skb, cb, 651 r = nfc_hci_send_cmd_async(hdev, target 590 hci_activate_target(struct nfc_dev *nfc_dev, struct nfc_target *target, u32 protocol) argument 596 hci_deactivate_target(struct nfc_dev *nfc_dev, struct nfc_target *target) argument 684 hci_check_presence(struct nfc_dev *nfc_dev, struct nfc_target *target) argument [all...] |