Home
last modified time | relevance | path

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

/linux-4.4.14/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.c153 if (nla_put_be16(skb, NFTA_LOG_GROUP, htons(li->u.ulog.group))) in nft_log_dump()
162 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()
432 if (nla_put_be16(skb, CTA_TIMEOUT_L3PROTO, htons(l4proto->l3proto)) || in cttimeout_default_fill_info()
Dnfnetlink_log.c526 if (nla_put_be16(inst->skb, NFULA_HWTYPE, htons(skb->dev->type)) || in __build_packet_message()
527 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.c1316 if (nla_put_be16(skb, CTA_PROTO_SRC_PORT, tuple->src.u.tcp.port) || in nf_ct_port_tuple_to_nlattr()
1317 nla_put_be16(skb, CTA_PROTO_DST_PORT, tuple->dst.u.tcp.port)) in nf_ct_port_tuple_to_nlattr()
Dnf_conntrack_netlink.c136 if (nla_put_be16(skb, attrtype, htons(zone->id))) in ctnetlink_dump_zone_id()
/linux-4.4.14/net/ipv4/
Dipip.c461 nla_put_be16(skb, IFLA_IPTUN_ENCAP_SPORT, in ipip_fill_info()
463 nla_put_be16(skb, IFLA_IPTUN_ENCAP_DPORT, in ipip_fill_info()
Dip_gre.c1147 nla_put_be16(skb, IFLA_GRE_IFLAGS, tnl_flags_to_gre_flags(p->i_flags)) || in ipgre_fill_info()
1148 nla_put_be16(skb, IFLA_GRE_OFLAGS, tnl_flags_to_gre_flags(p->o_flags)) || in ipgre_fill_info()
1161 nla_put_be16(skb, IFLA_GRE_ENCAP_SPORT, in ipgre_fill_info()
1163 nla_put_be16(skb, IFLA_GRE_ENCAP_DPORT, in ipgre_fill_info()
Dfou.c623 nla_put_be16(msg, FOU_ATTR_PORT, fou->port) || in fou_fill_info()
/linux-4.4.14/net/sched/
Dact_vlan.c169 nla_put_be16(skb, TCA_VLAN_PUSH_VLAN_PROTOCOL, v->tcfv_push_proto))) in tcf_vlan_dump()
/linux-4.4.14/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.4.14/net/8021q/
Dvlan_netlink.c188 if (nla_put_be16(skb, IFLA_VLAN_PROTOCOL, vlan->vlan_proto) || in vlan_fill_info()
/linux-4.4.14/net/openvswitch/
Dflow_netlink.c759 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_SRC, output->tp_src)) in __ip_tun_to_nlattr()
762 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_DST, output->tp_dst)) in __ip_tun_to_nlattr()
1469 if (nla_put_be16(skb, OVS_KEY_ATTR_ETHERTYPE, eth_type) || in __ovs_nla_put_key()
1470 nla_put_be16(skb, OVS_KEY_ATTR_VLAN, output->eth.tci)) in __ovs_nla_put_key()
1486 if (nla_put_be16(skb, OVS_KEY_ATTR_ETHERTYPE, in __ovs_nla_put_key()
1492 if (nla_put_be16(skb, OVS_KEY_ATTR_ETHERTYPE, output->eth.type)) in __ovs_nla_put_key()
1561 if (nla_put_be16(skb, OVS_KEY_ATTR_TCP_FLAGS, in __ovs_nla_put_key()
/linux-4.4.14/net/ipv6/netfilter/
Dnf_conntrack_proto_icmpv6.c245 if (nla_put_be16(skb, CTA_PROTO_ICMPV6_ID, t->src.u.icmp.id) || in icmpv6_tuple_to_nlattr()
/linux-4.4.14/net/ipv4/netfilter/
Dnf_conntrack_proto_icmp.c239 if (nla_put_be16(skb, CTA_PROTO_ICMP_ID, t->src.u.icmp.id) || in icmp_tuple_to_nlattr()
/linux-4.4.14/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.c1629 nla_put_be16(skb, IFLA_GRE_IFLAGS, p->i_flags) || in ip6gre_fill_info()
1630 nla_put_be16(skb, IFLA_GRE_OFLAGS, p->o_flags) || in ip6gre_fill_info()
/linux-4.4.14/net/bridge/
Dbr_netlink.c1166 if (nla_put_be16(skb, IFLA_BR_VLAN_PROTOCOL, br->vlan_proto) || in br_fill_info()
/linux-4.4.14/drivers/net/
Dgeneve.c1317 if (nla_put_be16(skb, IFLA_GENEVE_PORT, geneve->dst_port)) in geneve_fill_info()
Dvxlan.c315 nla_put_be16(skb, NDA_PORT, rdst->remote_port)) in vxlan_fdb_info()
3128 nla_put_be16(skb, IFLA_VXLAN_PORT, vxlan->cfg.dst_port) || in vxlan_fill_info()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_ctl.c2948 nla_put_be16(skb, IPVS_SVC_ATTR_PORT, svc->port)) in ip_vs_genl_fill_service()
3144 nla_put_be16(skb, IPVS_DEST_ATTR_PORT, dest->port) || in ip_vs_genl_fill_dest()