Searched refs:nlh (Results 51 - 68 of 68) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dip6mr.c624 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); local
625 nlh->nlmsg_type = NLMSG_ERROR;
626 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nlmsgerr));
627 skb_trim(skb, nlh->nlmsg_len);
628 ((struct nlmsgerr*)NLMSG_DATA(nlh))->error = -ETIMEDOUT;
837 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct ipv6hdr)); local
839 if (ip6mr_fill_mroute(skb, c, NLMSG_DATA(nlh)) > 0) {
840 nlh->nlmsg_len = skb->tail - (u8*)nlh;
842 nlh
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Ddn_fib.h125 const struct nlmsghdr *nlh, int *errp);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter/
H A Dnfnetlink.h112 struct nlmsghdr *nlh, struct nfattr *cda[]);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dfib_rules.c178 struct nlmsghdr *nlh, struct fib_rule_hdr *frh,
252 struct nlmsghdr *nlh, struct fib_rule_hdr *frh)
177 fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, struct nlmsghdr *nlh, struct fib_rule_hdr *frh, struct nlattr **tb) argument
251 fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, struct nlmsghdr *nlh, struct fib_rule_hdr *frh) argument
H A Droute.c2684 struct nlmsghdr *nlh; local
2688 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*r), flags);
2689 if (nlh == NULL)
2692 r = nlmsg_data(nlh);
2770 return nlmsg_end(skb, nlh);
2773 nlmsg_cancel(skb, nlh);
2777 static int inet_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr* nlh, void *arg) argument
2788 err = nlmsg_parse(nlh, sizeof(*rtm), tb, RTA_MAX, rtm_ipv4_policy);
2792 rtm = nlmsg_data(nlh);
2853 err = rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh
[all...]
H A Dfib_hash.c692 cb->nlh->nlmsg_seq,
H A Dfib_trie.c1879 cb->nlh->nlmsg_seq,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/
H A Diproute.c478 struct nlmsghdr nlh; member in struct:__anon11352
487 req.nlh.nlmsg_len = sizeof(req);
488 req.nlh.nlmsg_type = RTM_GETROUTE;
489 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_REQUEST;
490 req.nlh.nlmsg_pid = 0;
491 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/
H A Ddn_route.c1473 struct nlmsghdr *nlh; local
1477 nlh = NLMSG_NEW(skb, pid, seq, event, sizeof(*r), flags);
1478 r = NLMSG_DATA(nlh);
1515 nlh->nlmsg_len = skb_tail_pointer(skb) - b;
1527 static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, void *arg) argument
1530 struct rtmsg *rtm = NLMSG_DATA(nlh);
1592 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).pid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0);
1618 if (NLMSG_PAYLOAD(cb->nlh, 0) < sizeof(struct rtmsg))
1620 if (!(((struct rtmsg *)NLMSG_DATA(cb->nlh))->rtm_flags&RTM_F_CLONED))
1638 cb->nlh
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/misc/
H A Dss.c1304 static void tcp_show_info(const struct nlmsghdr *nlh, struct inet_diag_msg *r) argument
1311 nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*r)));
1387 int tcp_show_sock(struct nlmsghdr *nlh, struct filter *f) argument
1389 struct inet_diag_msg *r = NLMSG_DATA(nlh);
1442 tcp_show_info(nlh, r);
1455 struct nlmsghdr nlh; member in struct:__anon289
1471 req.nlh.nlmsg_len = sizeof(req);
1472 req.nlh.nlmsg_type = socktype;
1473 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_MATCH|NLM_F_REQUEST;
1474 req.nlh
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/zebra/
H A Drt_netlink.c142 struct nlmsghdr nlh; member in struct:__anon3148
159 req.nlh.nlmsg_len = sizeof req;
160 req.nlh.nlmsg_type = type;
161 req.nlh.nlmsg_flags = NLM_F_ROOT | NLM_F_MATCH | NLM_F_REQUEST;
162 req.nlh.nlmsg_pid = 0;
163 req.nlh.nlmsg_seq = ++nl->seq;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netlabel/
H A Dnetlabel_mgmt.c243 cb_arg.seq = cb->nlh->nlmsg_seq;
418 data = genlmsg_put(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq,
H A Dnetlabel_cipso_v4.c662 cb_arg.seq = cb->nlh->nlmsg_seq;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/wireless/
H A Dwext.c1131 struct nlmsghdr *nlh; local
1134 nlh = NLMSG_PUT(skb, 0, 0, type, sizeof(*r));
1135 r = NLMSG_DATA(nlh);
1146 nlh->nlmsg_len = skb_tail_pointer(skb) - b;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dscsi_transport_fc.c446 struct nlmsghdr *nlh; local
466 nlh = nlmsg_put(skb, 0, 0, SCSI_TRANSPORT_MSG,
467 skblen - sizeof(*nlh), 0);
468 if (!nlh) {
472 event = NLMSG_DATA(nlh);
522 struct nlmsghdr *nlh; local
541 nlh = nlmsg_put(skb, 0, 0, SCSI_TRANSPORT_MSG,
542 skblen - sizeof(*nlh), 0);
543 if (!nlh) {
547 event = NLMSG_DATA(nlh);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/ip/
H A Diproute.c949 struct nlmsghdr nlh; member in struct:__anon267
958 req.nlh.nlmsg_len = sizeof(req);
959 req.nlh.nlmsg_type = RTM_GETROUTE;
960 req.nlh.nlmsg_flags = NLM_F_ROOT|NLM_F_REQUEST;
961 req.nlh.nlmsg_pid = 0;
962 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Drtnetlink.h580 struct nlmsghdr *nlh, gfp_t flags);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/
H A Dhooks.c3805 struct nlmsghdr *nlh; local
3813 nlh = nlmsg_hdr(skb);
3815 err = selinux_nlmsg_lookup(isec->sclass, nlh->nlmsg_type, &perm);
3821 nlh->nlmsg_type, isec->sclass);

Completed in 240 milliseconds

123