Searched refs:tmp (Results 1 - 25 of 156) sorted by relevance

1234567

/net/bridge/netfilter/
H A Debt_mark.c42 int tmp; local
44 tmp = info->target | ~EBT_VERDICT_BITS;
45 if (BASE_CHAIN && tmp == EBT_RETURN)
47 if (tmp < -NUM_STANDARD_TARGETS || tmp >= 0)
49 tmp = info->target & ~EBT_VERDICT_BITS;
50 if (tmp != MARK_SET_VALUE && tmp != MARK_OR_VALUE &&
51 tmp != MARK_AND_VALUE && tmp !
[all...]
H A Debt_snat.c48 int tmp; local
50 tmp = info->target | ~EBT_VERDICT_BITS;
51 if (BASE_CHAIN && tmp == EBT_RETURN)
54 if (tmp < -NUM_STANDARD_TARGETS || tmp >= 0)
56 tmp = info->target | EBT_VERDICT_BITS;
57 if ((tmp & ~NAT_ARP_BIT) != ~NAT_ARP_BIT)
H A Debtables.c1089 struct ebt_replace tmp; local
1091 if (copy_from_user(&tmp, user, sizeof(tmp)) != 0)
1094 if (len != sizeof(tmp) + tmp.entries_size) {
1099 if (tmp.entries_size == 0) {
1104 if (tmp.nentries >= ((INT_MAX - sizeof(struct ebt_table_info)) /
1107 if (tmp.num_counters >= INT_MAX / sizeof(struct ebt_counter))
1110 tmp.name[sizeof(tmp
1276 struct ebt_counter *tmp; local
1422 struct ebt_replace tmp; local
1496 struct ebt_replace tmp; local
1790 struct compat_ebt_replace repl, tmp; local
1981 char *tmp; local
2134 struct compat_ebt_replace tmp; local
2172 struct ebt_replace tmp; local
2306 struct compat_ebt_replace tmp; local
[all...]
/net/netfilter/ipvs/
H A Dip_vs_pe.c68 struct ip_vs_pe *tmp; local
77 list_for_each_entry(tmp, &ip_vs_pe, n_list) {
78 if (strcmp(tmp->name, pe->name) == 0) {
/net/caif/
H A Dcfctrl.c62 struct cfctrl_request_info *p, *tmp; local
66 list_for_each_entry_safe(p, tmp, &ctrl->list, list) {
143 struct cfctrl_request_info *p, *tmp, *first; local
147 list_for_each_entry_safe(p, tmp, &ctrl->list, list) {
332 struct cfctrl_request_info *p, *tmp; local
337 list_for_each_entry_safe(p, tmp, &ctrl->list, list) {
379 u8 tmp; local
386 cfpkt_extr_head(pkt, &tmp, 1);
388 serv = tmp & CFCTRL_SRV_MASK;
391 servtype = tmp >>
570 struct cfctrl_request_info *p, *tmp; local
596 u8 linkid, linktype, tmp; local
[all...]
H A Dcfrfml.c48 int tmp; local
60 tmp = (mtu_size - RFM_HEAD_SIZE - 6) / 16;
61 tmp *= 16;
63 this->fragment_size = tmp;
99 u8 tmp; local
112 if (cfpkt_extr_head(pkt, &tmp, 1) < 0)
114 segmented = tmp & RFM_SEGMENTATION_BIT;
H A Dcffrml.c84 u16 tmp; local
91 cfpkt_extr_head(pkt, &tmp, 2);
92 len = le16_to_cpu(tmp);
109 cfpkt_extr_trail(pkt, &tmp, 2);
110 hdrchks = le16_to_cpu(tmp);
113 cfpkt_add_trail(pkt, &tmp, 2);
/net/wireless/
H A Dscan.c145 struct cfg80211_internal_bss *bss, *tmp; local
150 list_for_each_entry_safe(bss, tmp, &dev->bss_list, list) {
682 struct cfg80211_internal_bss *tmp)
686 if (WARN_ON(!tmp->pub.channel))
689 tmp->ts = jiffies;
693 if (WARN_ON(!rcu_access_pointer(tmp->pub.ies))) {
698 found = rb_find_bss(dev, tmp, BSS_CMP_REGULAR);
702 if (rcu_access_pointer(tmp->pub.proberesp_ies)) {
708 tmp->pub.proberesp_ies);
711 tmp
681 cfg80211_bss_update(struct cfg80211_registered_device *dev, struct cfg80211_internal_bss *tmp) argument
840 const u8 *tmp; local
876 struct cfg80211_internal_bss tmp = {}, *res; local
931 struct cfg80211_internal_bss tmp = {}, *res; local
[all...]
H A Dchan.c117 int tmp; local
128 tmp = (30 + c->chan->center_freq - c->center_freq1)/20;
130 tmp /= 2;
132 *pri40 = c->center_freq1 - 20 + 40 * tmp;
136 tmp = (70 + c->chan->center_freq - c->center_freq1)/20;
138 tmp /= 2;
140 *pri40 = c->center_freq1 - 60 + 40 * tmp;
142 tmp /= 2;
143 *pri80 = c->center_freq1 - 40 + 80 * tmp;
/net/mac80211/
H A Drc80211_pid_algo.c77 int cur_sorted, new_sorted, probe, tmp, n_bitrates, band; local
93 tmp = new_sorted;
100 tmp = probe;
106 tmp = probe;
111 if (rate_supported(sta, band, rinfo[tmp].index)) {
112 spinfo->txrate_idx = rinfo[tmp].index;
116 tmp--;
118 tmp++;
119 } while (tmp < n_bitrates && tmp >
156 int adj, i, j, tmp; local
301 int i, j, tmp; local
[all...]
/net/netfilter/
H A Dnfnetlink_queue_ct.c62 u_int32_t tmp; local
77 tmp = ctinfo;
78 if (nla_put_be32(skb, NFQA_CT_INFO, htonl(tmp)))
H A Dnf_conntrack_irc.c75 char *tmp; local
84 for (tmp = data; tmp <= data_end; tmp++)
85 if (*tmp == '\n')
87 if (tmp > data_end || *tmp != '\n')
H A Dnf_conntrack_labels.c58 u32 old, tmp; local
62 tmp = (old & mask) ^ new;
63 } while (cmpxchg(address, old, tmp) != old);
/net/ipv6/
H A Desp6.c50 void *tmp; member in struct:esp_skb_cb
88 static inline __be32 *esp_tmp_seqhi(void *tmp) argument
90 return PTR_ALIGN((__be32 *)tmp, __alignof__(__be32));
93 static inline u8 *esp_tmp_iv(struct crypto_aead *aead, void *tmp, int seqhilen) argument
96 PTR_ALIGN((u8 *)tmp + seqhilen,
97 crypto_aead_alignmask(aead) + 1) : tmp + seqhilen;
141 kfree(ESP_SKB_CB(skb)->tmp);
154 void *tmp; local
203 tmp = esp_alloc_tmp(aead, nfrags + sglists, seqhilen);
204 if (!tmp) {
338 void *tmp; local
[all...]
H A Dsyncookies.c69 __u32 *tmp = __get_cpu_var(ipv6_cookie_scratch); local
76 memcpy(tmp + 10, syncookie_secret[c], 44);
77 memcpy(tmp, saddr, 16);
78 memcpy(tmp + 4, daddr, 16);
79 tmp[8] = ((__force u32)sport << 16) + (__force u32)dport;
80 tmp[9] = count;
81 sha_transform(tmp + 16, (__u8 *)tmp, tmp + 16 + 5);
83 return tmp[1
[all...]
/net/ieee802154/
H A D6lowpan.c317 u8 tmp; local
322 if (lowpan_fetch_skb_u8(skb, &tmp))
325 if ((tmp & LOWPAN_NHC_UDP_MASK) == LOWPAN_NHC_UDP_ID) {
327 switch (tmp & LOWPAN_NHC_UDP_CS_P_11) {
386 u8 tmp, iphc0, iphc1, *hc06_ptr; local
435 tmp = (hdr->priority << 4) | (hdr->flow_lbl[0] >> 4);
436 tmp = ((tmp & 0x03) << 6) | (tmp >> 2);
448 *hc06_ptr = tmp;
727 u8 tmp, iphc0, iphc1, num_context = 0; local
1315 struct lowpan_dev_record *entry, *tmp; local
1360 struct lowpan_dev_record *entry, *tmp; local
[all...]
H A Daf_ieee802154.c50 struct net_device *tmp; local
69 for_each_netdev(net, tmp) {
70 if (tmp->type != ARPHRD_IEEE802154)
73 pan_id = ieee802154_mlme_ops(tmp)->get_pan_id(tmp);
75 ieee802154_mlme_ops(tmp)->get_short_addr(tmp);
79 dev = tmp;
/net/netlabel/
H A Dnetlabel_addrlist.h107 #define netlbl_af4list_foreach_safe(iter, tmp, head) \
109 tmp = __af4list_valid(iter->list.next, head); \
111 iter = tmp, tmp = __af4list_valid(iter->list.next, head))
174 #define netlbl_af6list_foreach_safe(iter, tmp, head) \
176 tmp = __af6list_valid(iter->list.next, head); \
178 iter = tmp, tmp = __af6list_valid(iter->list.next, head))
/net/phonet/
H A Dsysctl.c70 ctl_table tmp = { local
78 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos);
/net/ipv4/
H A Dsyncookies.c47 __u32 *tmp = __get_cpu_var(ipv4_cookie_scratch); local
49 memcpy(tmp + 4, syncookie_secret[c], sizeof(syncookie_secret[c]));
50 tmp[0] = (__force u32)saddr;
51 tmp[1] = (__force u32)daddr;
52 tmp[2] = ((__force u32)sport << 16) + (__force u32)dport;
53 tmp[3] = count;
54 sha_transform(tmp + 16, (__u8 *)tmp, tmp + 16 + 5);
56 return tmp[1
[all...]
/net/x25/
H A Dx25_forward.c137 struct list_head *entry, *tmp; local
141 list_for_each_safe(entry, tmp, &x25_forward_list) {
155 struct list_head *entry, *tmp; local
159 list_for_each_safe(entry, tmp, &x25_forward_list) {
H A Dx25_route.c112 struct list_head *entry, *tmp; local
116 list_for_each_safe(entry, tmp, &x25_route_list) {
218 struct list_head *entry, *tmp; local
221 list_for_each_safe(entry, tmp, &x25_route_list) {
/net/rds/
H A Dtcp_recv.c66 struct iovec *iov, tmp; local
76 tmp = *iov;
81 while (tmp.iov_len == 0) {
83 tmp = *iov;
86 to_copy = min(tmp.iov_len, size);
92 tmp.iov_base, tmp.iov_len, to_copy);
94 /* modifies tmp as it copies */
95 if (skb_copy_datagram_iovec(skb, skb_off, &tmp,
/net/rxrpc/
H A Dar-key.c216 unsigned int toklen = *_toklen, n_parts, loop, tmp; local
242 tmp = ntohl(*xdr++);
244 if (tmp <= 0 || tmp > AFSTOKEN_STRING_MAX)
246 if (tmp > toklen)
248 princ->name_parts[loop] = kmalloc(tmp + 1, GFP_KERNEL);
251 memcpy(princ->name_parts[loop], xdr, tmp);
252 princ->name_parts[loop][tmp] = 0;
253 tmp = (tmp
552 unsigned int len, tmp, loop, ntoken, toklen, sec_ix; local
[all...]
/net/ipv4/netfilter/
H A Darp_tables.c909 struct xt_table_info tmp; local
912 ret = compat_table_info(private, &tmp);
914 private = &tmp;
1061 struct arpt_replace tmp; local
1066 if (copy_from_user(&tmp, user, sizeof(tmp)) != 0)
1070 if (tmp.num_counters >= INT_MAX / sizeof(struct xt_counters))
1072 tmp.name[sizeof(tmp.name)-1] = 0;
1074 newinfo = xt_alloc_table_info(tmp
1110 struct xt_counters_info tmp; local
1483 struct compat_arpt_replace tmp; local
[all...]

Completed in 305 milliseconds

1234567