Home
last modified time | relevance | path

Searched refs:nla_get_u8_default (Results 1 – 11 of 11) sorted by relevance

/linux/net/sched/
H A Dact_mpls.c291 p->tcfm_tc = nla_get_u8_default(tb[TCA_MPLS_TC], ACT_MPLS_TC_NOT_SET); in tcf_mpls_init()
292 p->tcfm_ttl = nla_get_u8_default(tb[TCA_MPLS_TTL], mpls_ttl); in tcf_mpls_init()
293 p->tcfm_bos = nla_get_u8_default(tb[TCA_MPLS_BOS], in tcf_mpls_init()
H A Dact_ct.c1316 family = nla_get_u8_default(tb[TCA_CT_HELPER_FAMILY], AF_INET); in tcf_ct_fill_params()
1317 proto = nla_get_u8_default(tb[TCA_CT_HELPER_PROTO], in tcf_ct_fill_params()
/linux/net/ipv6/ila/
H A Dila_xlat.c108 xp->ip.csum_mode = nla_get_u8_default(info->attrs[ILA_ATTR_CSUM_MODE], in parse_nl_config()
111 xp->ip.ident_type = nla_get_u8_default(info->attrs[ILA_ATTR_IDENT_TYPE], in parse_nl_config()
/linux/net/hsr/
H A Dhsr_netlink.c93 multicast_spec = nla_get_u8_default(data[IFLA_HSR_MULTICAST_SPEC], 0); in hsr_newlink()
/linux/net/ipv6/
H A Dioam6_iptunnel.c146 mode = nla_get_u8_default(tb[IOAM6_IPTUNNEL_MODE], in ioam6_build_state()
/linux/net/netfilter/
H A Dnft_tunnel.c500 info.key.ttl = nla_get_u8_default(tb[NFTA_TUNNEL_KEY_TTL], U8_MAX); in nft_tunnel_obj_init()
/linux/include/net/
H A Dnetlink.h1886 static inline u8 nla_get_u8_default(const struct nlattr *nla, u8 defvalue) in nla_get_u8_default() function
/linux/drivers/net/
H A Dmacsec.c4270 es = nla_get_u8_default(data[IFLA_MACSEC_ES], false); in macsec_validate_attr()
4271 sci = nla_get_u8_default(data[IFLA_MACSEC_INC_SCI], false); in macsec_validate_attr()
4272 scb = nla_get_u8_default(data[IFLA_MACSEC_SCB], false); in macsec_validate_attr()
/linux/net/core/
H A Dfib_rules.c609 nlrule->proto = nla_get_u8_default(tb[FRA_PROTOCOL], RTPROT_UNSPEC); in fib_nl2rule()
/linux/net/xfrm/
H A Dxfrm_user.c247 u8 sa_dir = nla_get_u8_default(attrs[XFRMA_SA_DIR], 0); in verify_newsa_info()
/linux/net/wireless/
H A Dnl80211.c1389 return nla_get_u8_default(linkid, 0); in nl80211_link_id()
12134 nla_get_u8_default(info->attrs[NL80211_ATTR_SAE_PWE], in nl80211_crypto_settings()