Searched refs:nla_get_u8_default (Results 1 – 13 of 13) sorted by relevance
| /linux/net/sched/ |
| H A D | act_mpls.c | 291 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 D | act_ct.c | 1318 family = nla_get_u8_default(tb[TCA_CT_HELPER_FAMILY], AF_INET); in tcf_ct_fill_params() 1319 proto = nla_get_u8_default(tb[TCA_CT_HELPER_PROTO], in tcf_ct_fill_params()
|
| /linux/net/ipv6/ila/ |
| H A D | ila_xlat.c | 108 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 D | hsr_netlink.c | 93 multicast_spec = nla_get_u8_default(data[IFLA_HSR_MULTICAST_SPEC], 0); in hsr_newlink()
|
| /linux/net/ipv6/ |
| H A D | ioam6_iptunnel.c | 138 mode = nla_get_u8_default(tb[IOAM6_IPTUNNEL_MODE], in ioam6_build_state()
|
| /linux/drivers/net/ |
| H A D | gtp.c | 1501 gtp->restart_count = nla_get_u8_default(data[IFLA_GTP_RESTART_COUNT], in gtp_newlink() 1837 family = nla_get_u8_default(info->attrs[GTPA_FAMILY], AF_INET); in gtp_pdp_add() 2074 family = nla_get_u8_default(nla[GTPA_FAMILY], AF_INET); in gtp_find_pdp_by_link()
|
| H A D | macsec.c | 4270 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/netfilter/ |
| H A D | nft_tunnel.c | 500 info.key.ttl = nla_get_u8_default(tb[NFTA_TUNNEL_KEY_TTL], U8_MAX); in nft_tunnel_obj_init()
|
| /linux/net/ieee802154/ |
| H A D | nl802154.c | 1441 request->page = nla_get_u8_default(info->attrs[NL802154_ATTR_PAGE], in nl802154_trigger_scan() 1451 nla_get_u8_default(info->attrs[NL802154_ATTR_SCAN_DURATION], in nl802154_trigger_scan() 1597 request->interval = nla_get_u8_default(info->attrs[NL802154_ATTR_BEACON_INTERVAL], in nl802154_send_beacons()
|
| /linux/include/net/ |
| H A D | netlink.h | 1886 static inline u8 nla_get_u8_default(const struct nlattr *nla, u8 defvalue) in nla_get_u8_default() function
|
| /linux/net/core/ |
| H A D | fib_rules.c | 609 nlrule->proto = nla_get_u8_default(tb[FRA_PROTOCOL], RTPROT_UNSPEC); in fib_nl2rule()
|
| /linux/net/xfrm/ |
| H A D | xfrm_user.c | 256 u8 sa_dir = nla_get_u8_default(attrs[XFRMA_SA_DIR], 0); in verify_newsa_info()
|
| /linux/net/wireless/ |
| H A D | nl80211.c | 1408 return nla_get_u8_default(linkid, 0); in nl80211_link_id() 12257 nla_get_u8_default(info->attrs[NL80211_ATTR_SAE_PWE], in nl80211_crypto_settings()
|