Home
last modified time | relevance | path

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

12

/net/ipv6/
Daddrlabel.c35 struct in6_addr prefix; member
83 const struct in6_addr *prefix; member
88 .prefix = &in6addr_any,
91 .prefix = &(struct in6_addr){ { { 0xfc } } } ,
95 .prefix = &(struct in6_addr){ { { 0xfe, 0xc0 } } },
99 .prefix = &(struct in6_addr){ { { 0x20, 0x02 } } },
103 .prefix = &(struct in6_addr){ { { 0x3f, 0xfe } } },
107 .prefix = &(struct in6_addr){ { { 0x20, 0x01 } } },
111 .prefix = &(struct in6_addr){ { { 0x20, 0x01, 0x00, 0x10 } } },
115 .prefix = &(struct in6_addr){ { { [10] = 0xff, [11] = 0xff } } },
[all …]
DKconfig176 prefix of its own in place of the fixed 6to4 prefix.
223 Enable routing by source address or prefix.
226 normal and source prefix specific routes in the same routing table
229 source prefix specific routes.
Dsit.c180 ipv6_addr_set(&t->ip6rd.prefix, htonl(0x20020000), 0, 0, 0); in ipip6_tunnel_clone_6rd()
763 if (ipv6_prefix_equal(v6dst, &tunnel->ip6rd.prefix, in check_6rd()
1109 struct in6_addr prefix; in ipip6_tunnel_update_6rd() local
1116 ipv6_addr_prefix(&prefix, &ip6rd->prefix, ip6rd->prefixlen); in ipip6_tunnel_update_6rd()
1117 if (!ipv6_addr_equal(&prefix, &ip6rd->prefix)) in ipip6_tunnel_update_6rd()
1128 t->ip6rd.prefix = prefix; in ipip6_tunnel_update_6rd()
1174 ip6rd.prefix = t->ip6rd.prefix; in ipip6_tunnel_ioctl()
1520 nla_memcpy(&ip6rd->prefix, data[IFLA_IPTUN_6RD_PREFIX], in ipip6_netlink_6rd_parms()
1685 &tunnel->ip6rd.prefix) || in ipip6_fill_info()
Droute.c99 const struct in6_addr *prefix, int prefixlen,
102 const struct in6_addr *prefix, int prefixlen,
703 struct in6_addr prefix_buf, *prefix; in rt6_route_rcv() local
734 prefix = (struct in6_addr *)rinfo->prefix; in rt6_route_rcv()
738 (struct in6_addr *)rinfo->prefix, in rt6_route_rcv()
740 prefix = &prefix_buf; in rt6_route_rcv()
746 rt = rt6_get_route_info(dev, prefix, rinfo->prefix_len, gwaddr); in rt6_route_rcv()
754 rt = rt6_add_route_info(dev, prefix, rinfo->prefix_len, gwaddr, pref); in rt6_route_rcv()
1909 const struct in6_addr *prefix, int prefixlen, in rt6_get_route_info() argument
1922 fn = fib6_locate(&table->tb6_root, prefix, prefixlen, NULL, 0); in rt6_get_route_info()
[all …]
/net/netfilter/
Dnft_log.c26 char *prefix; member
37 pkt->out, &priv->loginfo, "%s", priv->prefix); in nft_log_eval()
60 priv->prefix = kmalloc(nla_len(nla) + 1, GFP_KERNEL); in nft_log_init()
61 if (priv->prefix == NULL) in nft_log_init()
63 nla_strlcpy(priv->prefix, nla, nla_len(nla) + 1); in nft_log_init()
65 priv->prefix = (char *)nft_log_null_prefix; in nft_log_init()
123 if (priv->prefix != nft_log_null_prefix) in nft_log_destroy()
124 kfree(priv->prefix); in nft_log_destroy()
139 if (priv->prefix != nft_log_null_prefix) in nft_log_dump()
140 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()
116 *(pm->prefix) = '\0'; in quota2_log()
136 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.c192 char prefix[NF_LOG_PREFIXLEN]; in nf_log_packet() local
203 vsnprintf(prefix, sizeof(prefix), fmt, args); in nf_log_packet()
205 logger->logfn(net, pf, hooknum, skb, in, out, loginfo, prefix); in nf_log_packet()
Dnfnetlink_log.c403 const char *prefix, unsigned int plen) in __build_packet_message() argument
429 if (prefix && in __build_packet_message()
430 nla_put(inst->skb, NFULA_PREFIX, plen, prefix)) in __build_packet_message()
616 const char *prefix) in nfulnl_log_packet() argument
635 if (prefix) in nfulnl_log_packet()
636 plen = strlen(prefix) + 1; in nfulnl_log_packet()
713 hooknum, in, out, prefix, plen); in nfulnl_log_packet()
Dnf_log_common.c155 const struct nf_loginfo *loginfo, const char *prefix) in nf_log_dump_packet_common() argument
158 '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/ipv4/netfilter/
Dnf_log_arp.c82 const char *prefix) in nf_log_arp_packet() argument
96 prefix); in nf_log_arp_packet()
Dnf_log_ipv4.c314 const char *prefix) in nf_log_ip_packet() argument
328 out, loginfo, prefix); in nf_log_ip_packet()
/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.c189 hash_ip6_netmask(union nf_inet_addr *ip, u8 prefix) in hash_ip6_netmask() argument
191 ip6_netmask(ip, prefix); in hash_ip6_netmask()
/net/sunrpc/auth_gss/
Dgss_mech_switch.c72 static char *prefix = "gss/"; in make_auth_domain_name() local
75 new = kmalloc(strlen(name) + strlen(prefix) + 1, GFP_KERNEL); in make_auth_domain_name()
77 strcpy(new, prefix); in make_auth_domain_name()
/net/ipv4/
Dfib_frontend.c744 __be32 prefix = ifa->ifa_address & mask; in fib_add_ifaddr() local
747 prim = inet_ifa_byprefix(in_dev, prefix, mask); in fib_add_ifaddr()
763 if (!ipv4_is_zeronet(prefix) && !(ifa->ifa_flags & IFA_F_SECONDARY) && in fib_add_ifaddr()
764 (prefix != addr || ifa->ifa_prefixlen < 32)) { in fib_add_ifaddr()
767 prefix, ifa->ifa_prefixlen, prim); in fib_add_ifaddr()
771 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix, 32, prim); in fib_add_ifaddr()
772 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix | ~mask, in fib_add_ifaddr()
Dinet_fragment.c454 const char *prefix) in inet_frag_maybe_warn_overflow() argument
461 LIMIT_NETDEBUG(KERN_WARNING "%s%s", prefix, msg); in inet_frag_maybe_warn_overflow()
/net/ipv6/netfilter/
Dnf_log_ipv6.c346 const char *prefix) in nf_log_ip6_packet() argument
360 loginfo, prefix); in nf_log_ip6_packet()
/net/ceph/
Dosdmap.c722 const char *prefix, u8 *v) in get_osdmap_client_data_v() argument
734 OSDMAP_WRAPPER_COMPAT_VER, prefix); in get_osdmap_client_data_v()
744 OSDMAP_CLIENT_DATA_COMPAT_VER, prefix); in get_osdmap_client_data_v()
755 version, prefix); in get_osdmap_client_data_v()
/net/atm/
Dbr2684.c397 netmask) == brvcc->filter.prefix) in packet_fails_filter()
809 "%d.%d.%d.%d\n", bs(prefix), bs(netmask)); in br2684_seq_show()

12