Home
last modified time | relevance | path

Searched refs:nla_put_be16 (Results 1 – 20 of 20) sorted by relevance

/linux-4.1.27/net/netfilter/
Dnft_queue.c89 if (nla_put_be16(skb, NFTA_QUEUE_NUM, htons(priv->queuenum)) || in nft_queue_dump()
90 nla_put_be16(skb, NFTA_QUEUE_TOTAL, htons(priv->queues_total)) || in nft_queue_dump()
91 nla_put_be16(skb, NFTA_QUEUE_FLAGS, htons(priv->flags))) in nft_queue_dump()
Dnft_log.c154 if (nla_put_be16(skb, NFTA_LOG_GROUP, htons(li->u.ulog.group))) in nft_log_dump()
163 if (nla_put_be16(skb, NFTA_LOG_QTHRESHOLD, in nft_log_dump()
Dnfnetlink_cttimeout.c178 nla_put_be16(skb, CTA_TIMEOUT_L3PROTO, htons(timeout->l3num)) || in ctnl_timeout_fill_info()
403 if (nla_put_be16(skb, CTA_TIMEOUT_L3PROTO, htons(l4proto->l3proto)) || in cttimeout_default_fill_info()
Dnfnetlink_log.c523 if (nla_put_be16(inst->skb, NFULA_HWTYPE, htons(skb->dev->type)) || in __build_packet_message()
524 nla_put_be16(inst->skb, NFULA_HWLEN, in __build_packet_message()
Dnfnetlink_cthelper.c354 if (nla_put_be16(skb, NFCTH_TUPLE_L3PROTONUM, in nfnl_cthelper_dump_tuple()
Dnf_conntrack_core.c1291 if (nla_put_be16(skb, CTA_PROTO_SRC_PORT, tuple->src.u.tcp.port) || in nf_ct_port_tuple_to_nlattr()
1292 nla_put_be16(skb, CTA_PROTO_DST_PORT, tuple->dst.u.tcp.port)) in nf_ct_port_tuple_to_nlattr()
Dnf_conntrack_netlink.c491 nla_put_be16(skb, CTA_ZONE, htons(nf_ct_zone(ct)))) in ctnetlink_fill_info()
673 nla_put_be16(skb, CTA_ZONE, htons(nf_ct_zone(ct)))) in ctnetlink_conntrack_event()
2112 if (nla_put_be16(skb, CTA_ZONE, htons(nf_ct_zone(ct)))) in ctnetlink_nfqueue_build()
/linux-4.1.27/net/ipv4/
Dip_gre.c777 nla_put_be16(skb, IFLA_GRE_IFLAGS, tnl_flags_to_gre_flags(p->i_flags)) || in ipgre_fill_info()
778 nla_put_be16(skb, IFLA_GRE_OFLAGS, tnl_flags_to_gre_flags(p->o_flags)) || in ipgre_fill_info()
791 nla_put_be16(skb, IFLA_GRE_ENCAP_SPORT, in ipgre_fill_info()
793 nla_put_be16(skb, IFLA_GRE_ENCAP_DPORT, in ipgre_fill_info()
Dipip.c463 nla_put_be16(skb, IFLA_IPTUN_ENCAP_SPORT, in ipip_fill_info()
465 nla_put_be16(skb, IFLA_IPTUN_ENCAP_DPORT, in ipip_fill_info()
Dfou.c627 nla_put_be16(msg, FOU_ATTR_PORT, fou->port) || in fou_fill_info()
/linux-4.1.27/net/sched/
Dact_vlan.c168 nla_put_be16(skb, TCA_VLAN_PUSH_VLAN_PROTOCOL, v->tcfv_push_proto))) in tcf_vlan_dump()
/linux-4.1.27/net/openvswitch/
Dflow_netlink.c670 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_SRC, output->tp_src)) in __ipv4_tun_to_nlattr()
673 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_DST, output->tp_dst)) in __ipv4_tun_to_nlattr()
1328 if (nla_put_be16(skb, OVS_KEY_ATTR_ETHERTYPE, eth_type) || in __ovs_nla_put_key()
1329 nla_put_be16(skb, OVS_KEY_ATTR_VLAN, output->eth.tci)) in __ovs_nla_put_key()
1345 if (nla_put_be16(skb, OVS_KEY_ATTR_ETHERTYPE, in __ovs_nla_put_key()
1351 if (nla_put_be16(skb, OVS_KEY_ATTR_ETHERTYPE, output->eth.type)) in __ovs_nla_put_key()
1420 if (nla_put_be16(skb, OVS_KEY_ATTR_TCP_FLAGS, in __ovs_nla_put_key()
/linux-4.1.27/include/net/
Dnetlink.h768 static inline int nla_put_be16(struct sk_buff *skb, int attrtype, __be16 value) in nla_put_be16() function
781 return nla_put_be16(skb, attrtype | NLA_F_NET_BYTEORDER, value); in nla_put_net16()
/linux-4.1.27/net/8021q/
Dvlan_netlink.c188 if (nla_put_be16(skb, IFLA_VLAN_PROTOCOL, vlan->vlan_proto) || in vlan_fill_info()
/linux-4.1.27/net/ipv6/netfilter/
Dnf_conntrack_proto_icmpv6.c243 if (nla_put_be16(skb, CTA_PROTO_ICMPV6_ID, t->src.u.icmp.id) || in icmpv6_tuple_to_nlattr()
/linux-4.1.27/net/ipv4/netfilter/
Dnf_conntrack_proto_icmp.c237 if (nla_put_be16(skb, CTA_PROTO_ICMP_ID, t->src.u.icmp.id) || in icmp_tuple_to_nlattr()
/linux-4.1.27/net/ipv6/
Dsit.c1677 nla_put_be16(skb, IFLA_IPTUN_FLAGS, parm->i_flags)) in ipip6_fill_info()
1694 nla_put_be16(skb, IFLA_IPTUN_ENCAP_SPORT, in ipip6_fill_info()
1696 nla_put_be16(skb, IFLA_IPTUN_ENCAP_DPORT, in ipip6_fill_info()
Dip6_gre.c1609 nla_put_be16(skb, IFLA_GRE_IFLAGS, p->i_flags) || in ip6gre_fill_info()
1610 nla_put_be16(skb, IFLA_GRE_OFLAGS, p->o_flags) || in ip6gre_fill_info()
/linux-4.1.27/drivers/net/
Dvxlan.c349 nla_put_be16(skb, NDA_PORT, rdst->remote_port)) in vxlan_fdb_info()
2850 nla_put_be16(skb, IFLA_VXLAN_PORT, vxlan->dst_port) || in vxlan_fill_info()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_ctl.c2927 nla_put_be16(skb, IPVS_SVC_ATTR_PORT, svc->port)) in ip_vs_genl_fill_service()
3122 nla_put_be16(skb, IPVS_DEST_ATTR_PORT, dest->port) || in ip_vs_genl_fill_dest()