Searched refs:tuninfo (Results 1 – 3 of 3) sorted by relevance
/linux/net/ipv6/ |
A D | ioam6_iptunnel.c | 39 struct ioam6_lwt_encap tuninfo; member 49 return &ioam6_lwt_state(lwt)->tuninfo; in ioam6_lwt_info() 94 struct ioam6_lwt_encap *tuninfo; in ioam6_build_state() local 147 tuninfo = ioam6_lwt_info(lwt); in ioam6_build_state() 148 tuninfo->eh.hdrlen = ((sizeof(*tuninfo) + len_aligned) >> 3) - 1; in ioam6_build_state() 149 tuninfo->pad[0] = IPV6_TLV_PADN; in ioam6_build_state() 152 tuninfo->ioamh.opt_len = sizeof(tuninfo->ioamh) - 2 + sizeof(*trace) in ioam6_build_state() 208 tuninfo->eh.nexthdr = hdr->nexthdr; in ioam6_do_inline() 222 struct ioam6_lwt_encap *tuninfo, in ioam6_do_encap() argument 243 tuninfo->eh.nexthdr = NEXTHDR_IPV6; in ioam6_do_encap() [all …]
|
A D | seg6_iptunnel.c | 35 switch (tuninfo->mode) { in seg6_lwt_headroom() 50 struct seg6_iptunnel_encap tuninfo[]; member 61 return seg6_lwt_lwtunnel(lwt)->tuninfo; in seg6_encap_lwtunnel() 69 struct seg6_iptunnel_encap *tuninfo) in nla_put_srh() argument 75 len = SEG6_IPTUN_ENCAP_SIZE(tuninfo); in nla_put_srh() 82 memcpy(data, tuninfo, len); in nla_put_srh() 478 struct seg6_iptunnel_encap *tuninfo; in seg6_build_state() local 496 tuninfo = nla_data(tb[SEG6_IPTUNNEL_SRH]); in seg6_build_state() 507 switch (tuninfo->mode) { in seg6_build_state() 522 if (!seg6_validate_srh(tuninfo->srh, tuninfo_len - sizeof(*tuninfo), false)) in seg6_build_state() [all …]
|
A D | rpl_iptunnel.c | 21 struct rpl_iptunnel_encap tuninfo; member 32 return &rpl_lwt_lwtunnel(lwt)->tuninfo; in rpl_encap_lwtunnel() 111 memcpy(&rlwt->tuninfo.srh, srh, srh_len); in rpl_build_state() 298 struct rpl_iptunnel_encap *tuninfo) in nla_put_rpl_srh() argument 304 len = RPL_IPTUNNEL_SRH_SIZE(tuninfo->srh); in nla_put_rpl_srh() 311 memcpy(data, tuninfo->srh, len); in nla_put_rpl_srh() 319 struct rpl_iptunnel_encap *tuninfo = rpl_encap_lwtunnel(lwtstate); in rpl_fill_encap_info() local 321 if (nla_put_rpl_srh(skb, RPL_IPTUNNEL_SRH, tuninfo)) in rpl_fill_encap_info() 329 struct rpl_iptunnel_encap *tuninfo = rpl_encap_lwtunnel(lwtstate); in rpl_encap_nlsize() local 331 return nla_total_size(RPL_IPTUNNEL_SRH_SIZE(tuninfo->srh)); in rpl_encap_nlsize()
|
Completed in 7 milliseconds