/net/decnet/netfilter/ |
D | dn_rtmsg.c | 68 int group = 0; in dnrmg_send_peer() local 73 group = DNRNG_NLGRP_L1; in dnrmg_send_peer() 76 group = DNRNG_NLGRP_L2; in dnrmg_send_peer() 85 NETLINK_CB(skb2).dst_group = group; in dnrmg_send_peer() 86 netlink_broadcast(dnrmg, skb2, 0, group, GFP_ATOMIC); in dnrmg_send_peer()
|
/net/netlink/ |
D | af_netlink.c | 135 static u32 netlink_group_mask(u32 group) in netlink_group_mask() argument 137 return group ? 1 << (group - 1) : 0; in netlink_group_mask() 913 int netlink_has_listeners(struct sock *sk, unsigned int group) in netlink_has_listeners() argument 923 if (group - 1 < nl_table[sk->sk_protocol].groups) in netlink_has_listeners() 924 res = test_bit(group - 1, listeners); in netlink_has_listeners() 951 u32 group; member 968 if (nlk->pid == p->pid || p->group - 1 >= nlk->ngroups || in do_one_broadcast() 969 !test_bit(p->group - 1, nlk->groups)) in do_one_broadcast() 1014 u32 group, gfp_t allocation) in netlink_broadcast() argument 1026 info.group = group; in netlink_broadcast() [all …]
|
/net/netfilter/ |
D | nfnetlink.c | 104 int nfnetlink_has_listeners(unsigned int group) in nfnetlink_has_listeners() argument 106 return netlink_has_listeners(nfnl, group); in nfnetlink_has_listeners() 110 int nfnetlink_send(struct sk_buff *skb, u32 pid, unsigned group, int echo) in nfnetlink_send() argument 112 return nlmsg_notify(nfnl, skb, pid, group, echo, gfp_any()); in nfnetlink_send()
|
D | xt_NFLOG.c | 32 li.u.ulog.group = info->group; in nflog_tg()
|
D | nf_conntrack_netlink.c | 418 unsigned int flags = 0, group; in ctnetlink_conntrack_event() local 426 group = NFNLGRP_CONNTRACK_DESTROY; in ctnetlink_conntrack_event() 430 group = NFNLGRP_CONNTRACK_NEW; in ctnetlink_conntrack_event() 433 group = NFNLGRP_CONNTRACK_UPDATE; in ctnetlink_conntrack_event() 437 if (!item->report && !nfnetlink_has_listeners(group)) in ctnetlink_conntrack_event() 515 nfnetlink_send(skb, item->pid, group, item->report); in ctnetlink_conntrack_event()
|
D | nfnetlink_log.c | 531 .group = 0, 558 inst = instance_lookup_get(li->u.ulog.group); in nfulnl_log_packet()
|
D | Kconfig | 671 based on who created the socket: the user or group. It is also
|
/net/ipv6/ |
D | mcast.c | 287 struct in6_addr *group, in ip6_mc_find_dev() argument 296 rt = rt6_lookup(net, group, NULL, 0, 0); in ip6_mc_find_dev() 361 struct in6_addr *source, *group; in ip6_mc_source() local 374 group = &((struct sockaddr_in6 *)&pgsr->gsr_group)->sin6_addr; in ip6_mc_source() 376 if (!ipv6_addr_is_multicast(group)) in ip6_mc_source() 379 idev = ip6_mc_find_dev(net, group, pgsr->gsr_interface); in ip6_mc_source() 390 if (ipv6_addr_equal(&pmc->addr, group)) in ip6_mc_source() 405 ip6_mc_add_src(idev, group, omode, 0, NULL, 0); in ip6_mc_source() 406 ip6_mc_del_src(idev, group, pmc->sfmode, 0, NULL, 0); in ip6_mc_source() 434 ip6_mc_del_src(idev, group, omode, 1, source, 1); in ip6_mc_source() [all …]
|
/net/bridge/netfilter/ |
D | ebt_ulog.c | 131 unsigned int group = uloginfo->nlgroup; in ebt_ulog_packet() local 132 ebt_ulog_buff_t *ub = &ulog_buffers[group]; in ebt_ulog_packet() 155 ulog_send(group); in ebt_ulog_packet() 207 ulog_send(group); in ebt_ulog_packet() 240 loginfo.nlgroup = li->u.ulog.group; in ebt_log_packet()
|
D | ebt_nflog.c | 30 li.u.ulog.group = info->group; in ebt_nflog_tg()
|
/net/ipv4/ |
D | igmp.c | 634 __be32 group = pmc ? pmc->multiaddr : 0; in igmp_send_report() local 642 dst = group; in igmp_send_report() 688 ih->group = group; in igmp_send_report() 806 static void igmp_heard_report(struct in_device *in_dev, __be32 group) in igmp_heard_report() argument 812 if (group == IGMP_ALL_HOSTS) in igmp_heard_report() 817 if (im->multiaddr == group) { in igmp_heard_report() 831 __be32 group = ih->group; in igmp_heard_query() local 843 group = 0; in igmp_heard_query() 876 if (!group) { /* general query */ in igmp_heard_query() 900 if (group && group != im->multiaddr) in igmp_heard_query() [all …]
|
D | ipmr.c | 1547 pim->group != PIM_V1_VERSION || pim->code != PIM_V1_REGISTER) in pim_rcv_v1()
|
/net/core/ |
D | rtnetlink.c | 437 int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned group, int echo) in rtnetlink_send() argument 442 NETLINK_CB(skb).dst_group = group; in rtnetlink_send() 445 netlink_broadcast(rtnl, skb, pid, group, GFP_KERNEL); in rtnetlink_send() 458 int rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, in rtnl_notify() argument 467 return nlmsg_notify(rtnl, skb, pid, group, report, flags); in rtnl_notify() 470 void rtnl_set_sk_err(struct net *net, u32 group, int error) in rtnl_set_sk_err() argument 474 netlink_set_err(rtnl, 0, group, error); in rtnl_set_sk_err()
|
/net/ipv4/netfilter/ |
D | ipt_ULOG.c | 307 loginfo.nl_group = li->u.ulog.group; in ipt_logfn()
|