Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 29) sorted by relevance

12

/net/ipv6/
Daddrlabel.c33 struct in6_addr prefix; member
81 const struct in6_addr *prefix; member
86 .prefix = &in6addr_any,
89 .prefix = &(struct in6_addr){ { { 0xfc } } } ,
93 .prefix = &(struct in6_addr){ { { 0xfe, 0xc0 } } },
97 .prefix = &(struct in6_addr){ { { 0x20, 0x02 } } },
101 .prefix = &(struct in6_addr){ { { 0x3f, 0xfe } } },
105 .prefix = &(struct in6_addr){ { { 0x20, 0x01 } } },
109 .prefix = &(struct in6_addr){ { { 0x20, 0x01, 0x00, 0x10 } } },
113 .prefix = &(struct in6_addr){ { { [10] = 0xff, [11] = 0xff } } },
[all …]
Dsit.c180 ipv6_addr_set(&t->ip6rd.prefix, htonl(0x20020000), 0, 0, 0); in ipip6_tunnel_clone_6rd()
768 if (ipv6_prefix_equal(v6dst, &tunnel->ip6rd.prefix, in check_6rd()
1113 struct in6_addr prefix; in ipip6_tunnel_update_6rd() local
1120 ipv6_addr_prefix(&prefix, &ip6rd->prefix, ip6rd->prefixlen); in ipip6_tunnel_update_6rd()
1121 if (!ipv6_addr_equal(&prefix, &ip6rd->prefix)) in ipip6_tunnel_update_6rd()
1132 t->ip6rd.prefix = prefix; in ipip6_tunnel_update_6rd()
1178 ip6rd.prefix = t->ip6rd.prefix; in ipip6_tunnel_ioctl()
1524 ip6rd->prefix = nla_get_in6_addr(data[IFLA_IPTUN_6RD_PREFIX]); in ipip6_netlink_6rd_parms()
1698 &tunnel->ip6rd.prefix) || in ipip6_fill_info()
DKconfig195 prefix of its own in place of the fixed 6to4 prefix.
243 Enable routing by source address or prefix.
246 normal and source prefix specific routes in the same routing table
249 source prefix specific routes.
Droute.c103 const struct in6_addr *prefix, int prefixlen,
106 const struct in6_addr *prefix, int prefixlen,
759 struct in6_addr prefix_buf, *prefix; in rt6_route_rcv() local
790 prefix = (struct in6_addr *)rinfo->prefix; in rt6_route_rcv()
794 (struct in6_addr *)rinfo->prefix, in rt6_route_rcv()
796 prefix = &prefix_buf; in rt6_route_rcv()
802 rt = rt6_get_route_info(dev, prefix, rinfo->prefix_len, gwaddr); in rt6_route_rcv()
810 rt = rt6_add_route_info(dev, prefix, rinfo->prefix_len, gwaddr, pref); in rt6_route_rcv()
2313 const struct in6_addr *prefix, int prefixlen, in rt6_get_route_info() argument
2326 fn = fib6_locate(&table->tb6_root, prefix, prefixlen, NULL, 0); in rt6_get_route_info()
[all …]
/net/netfilter/
Dnft_log.c26 char *prefix; member
36 pkt->out, &priv->loginfo, "%s", priv->prefix); in nft_log_eval()
59 priv->prefix = kmalloc(nla_len(nla) + 1, GFP_KERNEL); in nft_log_init()
60 if (priv->prefix == NULL) in nft_log_init()
62 nla_strlcpy(priv->prefix, nla, nla_len(nla) + 1); in nft_log_init()
64 priv->prefix = (char *)nft_log_null_prefix; in nft_log_init()
122 if (priv->prefix != nft_log_null_prefix) in nft_log_destroy()
123 kfree(priv->prefix); in nft_log_destroy()
138 if (priv->prefix != nft_log_null_prefix) in nft_log_dump()
139 if (nla_put_string(skb, NFTA_LOG_PREFIX, priv->prefix)) in nft_log_dump()
Dxt_quota2.c40 char prefix[ULOG_PREFIX_LEN]; member
83 const char *prefix) in quota2_log() argument
113 if (prefix != NULL) in quota2_log()
114 strlcpy(pm->prefix, prefix, sizeof(pm->prefix)); in quota2_log()
129 const char *prefix) in quota2_log() argument
Dxt_NFLOG.c37 par->out, &li, info->prefix); in nflog_tg()
47 if (info->prefix[sizeof(info->prefix) - 1] != '\0') in nflog_tg_check()
Dxt_LOG.c43 &li, "%s", loginfo->prefix); in log_tg()
59 if (loginfo->prefix[sizeof(loginfo->prefix)-1] != '\0') { in log_tg_check()
Dnf_log.c201 char prefix[NF_LOG_PREFIXLEN]; in nf_log_packet() local
212 vsnprintf(prefix, sizeof(prefix), fmt, args); in nf_log_packet()
214 logger->logfn(net, pf, hooknum, skb, in, out, loginfo, prefix); in nf_log_packet()
229 char prefix[NF_LOG_PREFIXLEN]; in nf_log_trace() local
236 vsnprintf(prefix, sizeof(prefix), fmt, args); in nf_log_trace()
238 logger->logfn(net, pf, hooknum, skb, in, out, loginfo, prefix); in nf_log_trace()
Dnfnetlink_log.c405 const char *prefix, unsigned int plen, in __build_packet_message() argument
433 if (prefix && in __build_packet_message()
434 nla_put(inst->skb, NFULA_PREFIX, plen, prefix)) in __build_packet_message()
628 const char *prefix) in nfulnl_log_packet() argument
651 if (prefix) in nfulnl_log_packet()
652 plen = strlen(prefix) + 1; in nfulnl_log_packet()
737 hooknum, in, out, prefix, plen, in nfulnl_log_packet()
Dnf_log_common.c156 const struct nf_loginfo *loginfo, const char *prefix) in nf_log_dump_packet_common() argument
159 '0' + loginfo->u.log.level, prefix, in nf_log_dump_packet_common()
/net/bridge/netfilter/
Dnf_log_bridge.c25 const char *prefix) in nf_log_bridge_packet() argument
30 loginfo, "%s", prefix); in nf_log_bridge_packet()
34 loginfo, "%s", prefix); in nf_log_bridge_packet()
39 loginfo, "%s", prefix); in nf_log_bridge_packet()
Debt_log.c35 info->prefix[EBT_LOG_PREFIX_SIZE - 1] = '\0'; in ebt_log_tg_check()
78 const char *prefix) in ebt_log_packet() argument
88 '0' + loginfo->u.log.level, prefix, in ebt_log_packet()
195 par->in, par->out, &li, "%s", info->prefix); in ebt_log_tg()
198 par->out, &li, info->prefix); in ebt_log_tg()
Debt_nflog.c35 par->out, &li, "%s", info->prefix); in ebt_nflog_tg()
45 info->prefix[EBT_NFLOG_PREFIX_SIZE - 1] = '\0'; in ebt_nflog_tg_check()
/net/wimax/
Ddebugfs.c31 #define __debugfs_register(prefix, name, parent) \ argument
33 result = d_level_register_debugfs(prefix, name, parent); \
/net/netfilter/ipset/
DKconfig98 network address/prefix triples in a set.
125 one can store IPv4/IPv6 network address/prefix elements in a set.
134 one can store IPv4/IPv6 network address/prefix pairs in a set.
143 one can store IPv4/IPv6 network address/prefix and
153 one can store IPv4/IPv6 network address/prefix and
Dip_set_hash_ip.c185 hash_ip6_netmask(union nf_inet_addr *ip, u8 prefix) in hash_ip6_netmask() argument
187 ip6_netmask(ip, prefix); in hash_ip6_netmask()
/net/ipv4/netfilter/
Dnf_log_arp.c85 const char *prefix) in nf_log_arp_packet() argument
99 prefix); in nf_log_arp_packet()
Dnf_log_ipv4.c317 const char *prefix) in nf_log_ip_packet() argument
331 out, loginfo, prefix); in nf_log_ip_packet()
/net/sunrpc/auth_gss/
Dgss_mech_switch.c74 static char *prefix = "gss/"; in make_auth_domain_name() local
77 new = kmalloc(strlen(name) + strlen(prefix) + 1, GFP_KERNEL); in make_auth_domain_name()
79 strcpy(new, prefix); in make_auth_domain_name()
/net/ipv4/
Dfib_frontend.c857 __be32 prefix = ifa->ifa_address & mask; in fib_add_ifaddr() local
860 prim = inet_ifa_byprefix(in_dev, prefix, mask); in fib_add_ifaddr()
876 if (!ipv4_is_zeronet(prefix) && !(ifa->ifa_flags & IFA_F_SECONDARY) && in fib_add_ifaddr()
877 (prefix != addr || ifa->ifa_prefixlen < 32)) { in fib_add_ifaddr()
881 prefix, ifa->ifa_prefixlen, prim); in fib_add_ifaddr()
885 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix, 32, prim); in fib_add_ifaddr()
886 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix | ~mask, in fib_add_ifaddr()
Dfib_trie.c1263 t_key prefix = n->key; in prefix_mismatch() local
1265 return (key ^ prefix) & (prefix | -prefix); in prefix_mismatch()
2584 __be32 prefix; in fib_route_seq_show() local
2593 prefix = htonl(l->key); in fib_route_seq_show()
2614 prefix, in fib_route_seq_show()
2626 prefix, 0, flags, 0, 0, 0, in fib_route_seq_show()
/net/ipv6/netfilter/
Dnf_log_ipv6.c349 const char *prefix) in nf_log_ip6_packet() argument
363 loginfo, prefix); in nf_log_ip6_packet()
/net/atm/
Dbr2684.c397 netmask) == brvcc->filter.prefix) in packet_fails_filter()
807 &brvcc->filter.prefix, in br2684_seq_show()
/net/ceph/
Dosdmap.c748 const char *prefix, u8 *v) in get_osdmap_client_data_v() argument
760 OSDMAP_WRAPPER_COMPAT_VER, prefix); in get_osdmap_client_data_v()
770 OSDMAP_CLIENT_DATA_COMPAT_VER, prefix); in get_osdmap_client_data_v()
781 version, prefix); in get_osdmap_client_data_v()

12