/net/bridge/netfilter/ |
H A D | ebt_log.c | 35 info->prefix[EBT_LOG_PREFIX_SIZE - 1] = '\0'; 78 const char *prefix) 88 '0' + loginfo->u.log.level, prefix, 191 par->in, par->out, &li, "%s", info->prefix); 194 par->out, &li, info->prefix); 75 ebt_log_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) argument
|
H A D | ebt_ulog.c | 139 const char *prefix) 194 if (uloginfo->prefix != NULL) 195 strcpy(pm->prefix, uloginfo->prefix); 197 *(pm->prefix) = '\0'; 241 const char *prefix) 249 loginfo.prefix[0] = '\0'; 254 strlcpy(loginfo.prefix, prefix, sizeof(loginfo.prefix)); 134 ebt_ulog_packet(struct net *net, unsigned int hooknr, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct ebt_ulog_info *uloginfo, const char *prefix) argument 238 ebt_log_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *li, const char *prefix) argument [all...] |
H A D | ebtables.c | 344 find_inlist_lock(struct list_head *head, const char *name, const char *prefix, argument 349 "%s%s", prefix, name);
|
/net/ipv4/ |
H A D | inet_fragment.c | 356 const char *prefix) 363 LIMIT_NETDEBUG(KERN_WARNING "%s%s", prefix, msg); 355 inet_frag_maybe_warn_overflow(struct inet_frag_queue *q, const char *prefix) argument
|
H A D | fib_frontend.c | 742 __be32 prefix = ifa->ifa_address & mask; local 745 prim = inet_ifa_byprefix(in_dev, prefix, mask); 761 if (!ipv4_is_zeronet(prefix) && !(ifa->ifa_flags & IFA_F_SECONDARY) && 762 (prefix != addr || ifa->ifa_prefixlen < 32)) { 765 prefix, ifa->ifa_prefixlen, prim); 769 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix, 32, prim); 770 fib_magic(RTM_NEWROUTE, RTN_BROADCAST, prefix | ~mask,
|
H A D | devinet.c | 528 struct in_ifaddr *inet_ifa_byprefix(struct in_device *in_dev, __be32 prefix, argument 534 if (ifa->ifa_mask == mask && inet_ifa_match(prefix, ifa))
|
H A D | fib_trie.c | 293 that are the same for all keys with a given prefix are skipped, but the 1213 * with the same keys [prefix,tos,priority], if such key already 1482 * actual prefix matching, which means everything from 1485 * prefix present. Here we can only check the skipped 1506 * have to count on finding a matching prefix further down, 1508 * verifying the existence of such a prefix at this point. 1512 * any such matching prefix can indeed be a prefix to our 1526 * is if we are about to enter the "prefix matching" 1530 * matching prefix 2528 __be32 mask, prefix; local [all...] |
/net/ipv4/netfilter/ |
H A D | ipt_ULOG.c | 172 const char *prefix) 228 /* copy hook, prefix, timestamp, payload, etc. */ 235 if (prefix != NULL) { 236 strncpy(pm->prefix, prefix, sizeof(pm->prefix) - 1); 237 pm->prefix[sizeof(pm->prefix) - 1] = '\0'; 239 else if (loginfo->prefix[0] != '\0') 240 strncpy(pm->prefix, loginf 166 ipt_ulog_packet(struct net *net, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct ipt_ulog_info *loginfo, const char *prefix) argument 304 ipt_logfn(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *li, const char *prefix) argument 351 char prefix[ULOG_PREFIX_LEN]; member in struct:compat_ipt_ulog_info [all...] |
/net/netfilter/ipset/ |
H A D | ip_set_hash_ip.c | 34 /* Type specific function prefix */ 215 hash_ip6_netmask(union nf_inet_addr *ip, u8 prefix) argument 217 ip6_netmask(ip, prefix);
|
/net/netfilter/ |
H A D | nf_log.c | 142 char prefix[NF_LOG_PREFIXLEN]; local 149 vsnprintf(prefix, sizeof(prefix), fmt, args); 151 logger->logfn(net, pf, hooknum, skb, in, out, loginfo, prefix);
|
H A D | xt_quota2.c | 67 const char *prefix) 97 if (prefix != NULL) 98 strlcpy(pm->prefix, prefix, sizeof(pm->prefix)); 100 *(pm->prefix) = '\0'; 120 const char *prefix) 63 quota2_log(unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const char *prefix) argument 116 quota2_log(unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const char *prefix) argument
|
H A D | xt_LOG.c | 446 const char *prefix) 449 '0' + loginfo->u.log.level, prefix, 476 const char *prefix) 489 log_packet_common(m, pf, hooknum, skb, in, out, loginfo, prefix); 807 const char *prefix) 820 log_packet_common(m, pf, hooknum, skb, in, out, loginfo, prefix); 844 par->out, &li, loginfo->prefix); 848 par->out, &li, loginfo->prefix); 868 if (loginfo->prefix[sizeof(loginfo->prefix) 439 log_packet_common(struct sbuff *m, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) argument 469 ipt_log_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) argument 800 ip6t_log_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) argument [all...] |
H A D | nfnetlink_log.c | 403 const char *prefix, unsigned int plen) 428 if (prefix && 429 nla_put(inst->skb, NFULA_PREFIX, plen, prefix)) 612 const char *prefix) 631 if (prefix) 632 plen = strlen(prefix) + 1; 648 + nla_total_size(plen) /* prefix */ 710 hooknum, in, out, prefix, plen); 395 __build_packet_message(struct nfnl_log_net *log, struct nfulnl_instance *inst, const struct sk_buff *skb, unsigned int data_len, u_int8_t pf, unsigned int hooknum, const struct net_device *indev, const struct net_device *outdev, const char *prefix, unsigned int plen) argument 605 nfulnl_log_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *li_user, const char *prefix) argument
|
/net/sunrpc/auth_gss/ |
H A D | gss_mech_switch.c | 72 static char *prefix = "gss/"; local 75 new = kmalloc(strlen(name) + strlen(prefix) + 1, GFP_KERNEL); 77 strcpy(new, prefix);
|
/net/ipv6/ |
H A D | addrlabel.c | 36 struct in6_addr prefix; member in struct:ip6addrlbl_entry 62 * prefix addr_type label 84 const struct in6_addr *prefix; member in struct:ip6addrlbl_init_table 89 .prefix = &in6addr_any, 92 .prefix = &(struct in6_addr){{{ 0xfc }}}, 96 .prefix = &(struct in6_addr){{{ 0xfe, 0xc0 }}}, 100 .prefix = &(struct in6_addr){{{ 0x20, 0x02 }}}, 104 .prefix = &(struct in6_addr){{{ 0x3f, 0xfe }}}, 108 .prefix = &(struct in6_addr){{{ 0x20, 0x01 }}}, 112 .prefix 204 ip6addrlbl_alloc(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex, u32 label) argument 293 ip6addrlbl_add(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex, u32 label, int replace) argument 316 __ip6addrlbl_del(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex) argument 341 ip6addrlbl_del(struct net *net, const struct in6_addr *prefix, int prefixlen, int ifindex) argument [all...] |
H A D | sit.c | 180 ipv6_addr_set(&t->ip6rd.prefix, htonl(0x20020000), 0, 0, 0); 640 if (ipv6_prefix_equal(v6dst, &tunnel->ip6rd.prefix, 662 /* 6to4 v6 addr has 16 bits prefix, 32 v4addr, 16 SLA, ... */ 942 struct in6_addr prefix; local 949 ipv6_addr_prefix(&prefix, &ip6rd->prefix, ip6rd->prefixlen); 950 if (!ipv6_addr_equal(&prefix, &ip6rd->prefix)) 961 t->ip6rd.prefix = prefix; [all...] |
H A D | route.c | 89 const struct in6_addr *prefix, int prefixlen, 92 const struct in6_addr *prefix, int prefixlen, 646 struct in6_addr prefix_buf, *prefix; local 677 prefix = (struct in6_addr *)rinfo->prefix; 681 (struct in6_addr *)rinfo->prefix, 683 prefix = &prefix_buf; 686 rt = rt6_get_route_info(dev, prefix, rinfo->prefix_len, gwaddr); 694 rt = rt6_add_route_info(dev, prefix, rinfo->prefix_len, gwaddr, pref); 1797 const struct in6_addr *prefix, in 1796 rt6_get_route_info(struct net_device *dev, const struct in6_addr *prefix, int prefixlen, const struct in6_addr *gwaddr) argument 1829 rt6_add_route_info(struct net_device *dev, const struct in6_addr *prefix, int prefixlen, const struct in6_addr *gwaddr, unsigned int pref) argument 2391 rt6_fill_node(struct net *net, struct sk_buff *skb, struct rt6_info *rt, struct in6_addr *dst, struct in6_addr *src, int iif, int type, u32 portid, u32 seq, int prefix, int nowait, unsigned int flags) argument 2539 int prefix; local [all...] |
H A D | addrconf.c | 1008 * Purge or update corresponding prefix 1010 * 1) we don't purge prefix here if address was not permanent. 1011 * prefix is managed by its own lifetime. 1012 * 2) if there're no addresses, delete prefix. 1014 * corresponding prefix is still permanent. 1015 * 4) otherwise, update prefix lifetime to the 1023 struct in6_addr prefix; local 1026 ipv6_addr_prefix(&prefix, &ifp->addr, ifp->prefix_len); 1028 rt = addrconf_get_prefix_route(&prefix, 1329 /* Rule 8: Use longest matching prefix */ [all...] |
/net/ieee802154/ |
H A D | 6lowpan.c | 73 * 1 -> 2 bytes from prefix - bunch of zeroes and 8 from packet 74 * 2 -> 2 bytes from prefix - zeroes + 2 from packet 75 * 3 -> 2 bytes from prefix - infer 8 bytes from lladdr 85 * 1 -> 8 bytes from prefix - bunch of zeroes and 8 from packet 86 * 2 -> 8 bytes from prefix - zeroes + 2 from packet 87 * 3 -> 8 bytes from prefix - infer 8 bytes from lladdr 94 * 1 -> 2 bytes from prefix - bunch of zeroes 5 from packet 95 * 2 -> 2 bytes from prefix - zeroes + 3 from packet 96 * 3 -> 2 bytes from prefix - infer 1 bytes from lladdr 100 /* Link local prefix */ 210 lowpan_uncompress_addr(struct sk_buff *skb, struct in6_addr *ipaddr, u8 const *prefix, u8 pref_post_count, unsigned char *lladdr) argument 934 u8 prefix[] = {0xff, 0x02}; local [all...] |
/net/core/ |
H A D | dev.c | 581 * @prefix: prefix for network device 589 unsigned long netdev_boot_base(const char *prefix, int unit) argument 595 sprintf(name, "%s%d", prefix, unit);
|