Searched refs:nlh (Results 101 - 125 of 219) sorted by relevance

123456789

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/sched/
H A Dact_api.c628 struct nlmsghdr *nlh; local
632 nlh = NLMSG_NEW(skb, pid, seq, event, sizeof(*t), flags);
634 t = NLMSG_DATA(nlh);
648 nlh->nlmsg_len = skb_tail_pointer(skb) - b;
746 struct nlmsghdr *nlh; local
779 nlh = NLMSG_PUT(skb, pid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t));
780 t = NLMSG_DATA(nlh);
797 nlh->nlmsg_len = skb_tail_pointer(skb) - b;
798 nlh->nlmsg_flags |= NLM_F_ROOT;
886 struct nlmsghdr *nlh; local
1036 struct nlmsghdr *nlh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/core/
H A Dfib_rules.c61 struct fib_rules_ops *ops, struct nlmsghdr *nlh,
264 static int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg) argument
267 struct fib_rule_hdr *frh = nlmsg_data(nlh);
273 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh)))
282 err = nlmsg_parse(nlh, sizeof(*frh), tb, FRA_MAX, ops->policy);
400 notify_rule_change(RTM_NEWRULE, rule, ops, nlh, NETLINK_CB(skb).pid);
413 static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg) argument
416 struct fib_rule_hdr *frh = nlmsg_data(nlh);
422 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh)))
431 err = nlmsg_parse(nlh, sizeo
530 struct nlmsghdr *nlh; local
642 notify_rule_change(int event, struct fib_rule *rule, struct fib_rules_ops *ops, struct nlmsghdr *nlh, u32 pid) argument
[all...]
H A Drtnetlink.c472 struct nlmsghdr *nlh, gfp_t flags)
477 if (nlh)
478 report = nlmsg_report(nlh);
793 struct nlmsghdr *nlh; local
798 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags);
799 if (nlh == NULL)
802 ifm = nlmsg_data(nlh);
905 return nlmsg_end(skb, nlh);
908 nlmsg_cancel(skb, nlh);
932 cb->nlh
471 rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, struct nlmsghdr *nlh, gfp_t flags) argument
1278 rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
1319 rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
1429 rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
1575 rtnl_getlink(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg) argument
1673 rtnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/sched/
H A Dact_api.c628 struct nlmsghdr *nlh; local
632 nlh = NLMSG_NEW(skb, pid, seq, event, sizeof(*t), flags);
634 t = NLMSG_DATA(nlh);
648 nlh->nlmsg_len = skb_tail_pointer(skb) - b;
746 struct nlmsghdr *nlh; local
779 nlh = NLMSG_PUT(skb, pid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t));
780 t = NLMSG_DATA(nlh);
797 nlh->nlmsg_len = skb_tail_pointer(skb) - b;
798 nlh->nlmsg_flags |= NLM_F_ROOT;
886 struct nlmsghdr *nlh; local
1036 struct nlmsghdr *nlh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iproute2/lib/
H A Dlibnetlink.c91 struct nlmsghdr nlh; member in struct:__anon3532
100 req.nlh.nlmsg_len = sizeof(req);
101 req.nlh.nlmsg_type = type;
102 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
103 req.nlh.nlmsg_pid = 0;
104 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
123 struct nlmsghdr nlh; local
126 { .iov_base = &nlh, .iov_len = sizeof(nlh) },
139 nlh
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iproute2-3.x/lib/
H A Dlibnetlink.c95 struct nlmsghdr nlh; member in struct:__anon3710
100 req.nlh.nlmsg_len = sizeof(req);
101 req.nlh.nlmsg_type = type;
102 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
103 req.nlh.nlmsg_pid = 0;
104 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
150 struct nlmsghdr nlh; local
153 { .iov_base = &nlh, .iov_len = sizeof(nlh) },
166 nlh
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iproute2/lib/
H A Dlibnetlink.c91 struct nlmsghdr nlh; member in struct:__anon4437
100 req.nlh.nlmsg_len = sizeof(req);
101 req.nlh.nlmsg_type = type;
102 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
103 req.nlh.nlmsg_pid = 0;
104 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
123 struct nlmsghdr nlh; local
126 { .iov_base = &nlh, .iov_len = sizeof(nlh) },
139 nlh
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iproute2-3.x/lib/
H A Dlibnetlink.c95 struct nlmsghdr nlh; member in struct:__anon4615
100 req.nlh.nlmsg_len = sizeof(req);
101 req.nlh.nlmsg_type = type;
102 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
103 req.nlh.nlmsg_pid = 0;
104 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
150 struct nlmsghdr nlh; local
153 { .iov_base = &nlh, .iov_len = sizeof(nlh) },
166 nlh
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2/lib/
H A Dlibnetlink.c91 struct nlmsghdr nlh; member in struct:__anon38462
100 req.nlh.nlmsg_len = sizeof(req);
101 req.nlh.nlmsg_type = type;
102 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
103 req.nlh.nlmsg_pid = 0;
104 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
123 struct nlmsghdr nlh; local
126 { .iov_base = &nlh, .iov_len = sizeof(nlh) },
139 nlh
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2-3.x/lib/
H A Dlibnetlink.c95 struct nlmsghdr nlh; member in struct:__anon38640
100 req.nlh.nlmsg_len = sizeof(req);
101 req.nlh.nlmsg_type = type;
102 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
103 req.nlh.nlmsg_pid = 0;
104 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
150 struct nlmsghdr nlh; local
153 { .iov_base = &nlh, .iov_len = sizeof(nlh) },
166 nlh
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/core/
H A Drtnetlink.c472 struct nlmsghdr *nlh, gfp_t flags)
477 if (nlh)
478 report = nlmsg_report(nlh);
793 struct nlmsghdr *nlh; local
798 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags);
799 if (nlh == NULL)
802 ifm = nlmsg_data(nlh);
905 return nlmsg_end(skb, nlh);
908 nlmsg_cancel(skb, nlh);
932 cb->nlh
471 rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, struct nlmsghdr *nlh, gfp_t flags) argument
1278 rtnl_setlink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
1319 rtnl_dellink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
1429 rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
1575 rtnl_getlink(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg) argument
1673 rtnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/minidlna/
H A Dgetifaddr.c388 struct nlmsghdr *nlh; local
391 nlh = (struct nlmsghdr*)buf;
393 len = recv(s, nlh, sizeof(buf), 0);
396 while ((NLMSG_OK(nlh, len)) && (nlh->nlmsg_type != NLMSG_DONE))
398 if (nlh->nlmsg_type == RTM_NEWADDR ||
399 nlh->nlmsg_type == RTM_DELADDR)
403 nlh = NLMSG_NEXT(nlh, len);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/minidlna/
H A Dgetifaddr.c388 struct nlmsghdr *nlh; local
391 nlh = (struct nlmsghdr*)buf;
393 len = recv(s, nlh, sizeof(buf), 0);
396 while ((NLMSG_OK(nlh, len)) && (nlh->nlmsg_type != NLMSG_DONE))
398 if (nlh->nlmsg_type == RTM_NEWADDR ||
399 nlh->nlmsg_type == RTM_DELADDR)
403 nlh = NLMSG_NEXT(nlh, len);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/minidlna/
H A Dgetifaddr.c388 struct nlmsghdr *nlh; local
391 nlh = (struct nlmsghdr*)buf;
393 len = recv(s, nlh, sizeof(buf), 0);
396 while ((NLMSG_OK(nlh, len)) && (nlh->nlmsg_type != NLMSG_DONE))
398 if (nlh->nlmsg_type == RTM_NEWADDR ||
399 nlh->nlmsg_type == RTM_DELADDR)
403 nlh = NLMSG_NEXT(nlh, len);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/ipv4/
H A Dfib_frontend.c535 struct nlmsghdr *nlh, struct fib_config *cfg)
541 err = nlmsg_validate(nlh, sizeof(*rtm), RTA_MAX, rtm_ipv4_policy);
547 rtm = nlmsg_data(nlh);
555 cfg->fc_nlflags = nlh->nlmsg_flags;
558 cfg->fc_nlinfo.nlh = nlh;
566 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) {
605 static int inet_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
612 err = rtm_to_fib_config(net, skb, nlh, &cfg);
627 static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, voi argument
534 rtm_to_fib_config(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh, struct fib_config *cfg) argument
877 struct nlmsghdr *nlh; local
[all...]
H A Ddevinet.c237 int destroy, struct nlmsghdr *nlh, u32 pid)
270 rtmsg_ifa(RTM_DELADDR, ifa, nlh, pid);
295 rtmsg_ifa(RTM_DELADDR, ifa1, nlh, pid);
307 rtmsg_ifa(RTM_NEWADDR, promote, nlh, pid);
328 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, argument
374 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, pid);
434 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
445 err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_ipv4_policy);
449 ifm = nlmsg_data(nlh);
472 __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_C
236 __inet_del_ifa(struct in_device *in_dev, struct in_ifaddr **ifap, int destroy, struct nlmsghdr *nlh, u32 pid) argument
481 rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh) argument
546 inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
1144 struct nlmsghdr *nlh; local
1231 rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, u32 pid) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/ipv4/
H A Dfib_frontend.c535 struct nlmsghdr *nlh, struct fib_config *cfg)
541 err = nlmsg_validate(nlh, sizeof(*rtm), RTA_MAX, rtm_ipv4_policy);
547 rtm = nlmsg_data(nlh);
555 cfg->fc_nlflags = nlh->nlmsg_flags;
558 cfg->fc_nlinfo.nlh = nlh;
566 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) {
605 static int inet_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
612 err = rtm_to_fib_config(net, skb, nlh, &cfg);
627 static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, voi argument
534 rtm_to_fib_config(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh, struct fib_config *cfg) argument
877 struct nlmsghdr *nlh; local
[all...]
H A Ddevinet.c237 int destroy, struct nlmsghdr *nlh, u32 pid)
270 rtmsg_ifa(RTM_DELADDR, ifa, nlh, pid);
295 rtmsg_ifa(RTM_DELADDR, ifa1, nlh, pid);
307 rtmsg_ifa(RTM_NEWADDR, promote, nlh, pid);
328 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, argument
374 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, pid);
434 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
445 err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_ipv4_policy);
449 ifm = nlmsg_data(nlh);
472 __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_C
236 __inet_del_ifa(struct in_device *in_dev, struct in_ifaddr **ifap, int destroy, struct nlmsghdr *nlh, u32 pid) argument
481 rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh) argument
546 inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
1144 struct nlmsghdr *nlh; local
1231 rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, u32 pid) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/
H A Dscsi_transport_iscsi.c1044 struct nlmsghdr *nlh; local
1064 nlh = __nlmsg_put(skb, 0, 0, 0, (len - sizeof(*nlh)), 0);
1065 ev = NLMSG_DATA(nlh);
1083 struct nlmsghdr *nlh; local
1094 nlh = __nlmsg_put(skb, 0, 0, 0, (len - sizeof(*nlh)), 0);
1095 ev = NLMSG_DATA(nlh);
1116 struct nlmsghdr *nlh; local
1133 nlh
1153 struct nlmsghdr *nlh; local
1171 iscsi_if_get_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh) argument
1247 struct nlmsghdr *nlh; local
1545 iscsi_if_recv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, uint32_t *group) argument
1684 struct nlmsghdr *nlh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/
H A Dscsi_transport_iscsi.c1044 struct nlmsghdr *nlh; local
1064 nlh = __nlmsg_put(skb, 0, 0, 0, (len - sizeof(*nlh)), 0);
1065 ev = NLMSG_DATA(nlh);
1083 struct nlmsghdr *nlh; local
1094 nlh = __nlmsg_put(skb, 0, 0, 0, (len - sizeof(*nlh)), 0);
1095 ev = NLMSG_DATA(nlh);
1116 struct nlmsghdr *nlh; local
1133 nlh
1153 struct nlmsghdr *nlh; local
1171 iscsi_if_get_stats(struct iscsi_transport *transport, struct nlmsghdr *nlh) argument
1247 struct nlmsghdr *nlh; local
1545 iscsi_if_recv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, uint32_t *group) argument
1684 struct nlmsghdr *nlh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/bridge/netfilter/
H A Debt_ulog.c127 struct nlmsghdr *nlh; local
157 nlh = NLMSG_PUT(ub->skb, 0, ub->qlen, 0,
158 size - NLMSG_ALIGN(sizeof(*nlh)));
161 pm = NLMSG_DATA(nlh);
202 ub->lastnlh = nlh;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/bridge/netfilter/
H A Debt_ulog.c127 struct nlmsghdr *nlh; local
157 nlh = NLMSG_PUT(ub->skb, 0, ub->qlen, 0,
158 size - NLMSG_ALIGN(sizeof(*nlh)));
161 pm = NLMSG_DATA(nlh);
202 ub->lastnlh = nlh;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/decnet/
H A Ddn_fib.c271 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct dn_kern_rta *rta, const struct nlmsghdr *nlh, int *errp) argument
506 static int dn_fib_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
511 struct rtmsg *r = NLMSG_DATA(nlh);
521 return tb->delete(tb, r, (struct dn_kern_rta *)rta, nlh, &NETLINK_CB(skb));
526 static int dn_fib_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
531 struct rtmsg *r = NLMSG_DATA(nlh);
541 return tb->insert(tb, r, (struct dn_kern_rta *)rta, nlh, &NETLINK_CB(skb));
550 struct nlmsghdr nlh; member in struct:__anon34433
566 req.nlh.nlmsg_len = sizeof(req);
567 req.nlh
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/decnet/
H A Ddn_fib.c271 struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct dn_kern_rta *rta, const struct nlmsghdr *nlh, int *errp) argument
506 static int dn_fib_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
511 struct rtmsg *r = NLMSG_DATA(nlh);
521 return tb->delete(tb, r, (struct dn_kern_rta *)rta, nlh, &NETLINK_CB(skb));
526 static int dn_fib_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) argument
531 struct rtmsg *r = NLMSG_DATA(nlh);
541 return tb->insert(tb, r, (struct dn_kern_rta *)rta, nlh, &NETLINK_CB(skb));
550 struct nlmsghdr nlh; member in struct:__anon22740
566 req.nlh.nlmsg_len = sizeof(req);
567 req.nlh
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/wireless/
H A Dwext-core.c390 struct nlmsghdr *nlh; local
392 nlh = nlmsg_put(skb, 0, 0, RTM_NEWLINK, sizeof(*r), 0);
393 if (!nlh)
396 r = nlmsg_data(nlh);
406 return nlh;
408 nlmsg_cancel(skb, nlh);
432 struct nlmsghdr *nlh; local
525 nlh = rtnetlink_ifinfo_prep(dev, skb);
526 if (WARN_ON(!nlh)) {
547 nlmsg_end(skb, nlh);
[all...]

Completed in 228 milliseconds

123456789