Home
last modified time | relevance | path

Searched refs:md2 (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/include/net/
H A Derspan.h144 static inline void set_hwid(struct erspan_md2 *md2, u8 hwid) in set_hwid() argument
146 md2->hwid = hwid & 0xf; in set_hwid()
147 md2->hwid_upper = (hwid >> 4) & 0x3; in set_hwid()
150 static inline u8 get_hwid(const struct erspan_md2 *md2) in get_hwid() argument
152 return (md2->hwid_upper << 4) + md2->hwid; in get_hwid()
273 struct erspan_md2 *md2; in erspan_build_header_v2() local
310 md2 = (struct erspan_md2 *)(ershdr + 1); in erspan_build_header_v2()
311 md2->timestamp = erspan_get_timestamp(); in erspan_build_header_v2()
312 md2->sgt = htons(sgt); in erspan_build_header_v2()
313 md2->p = 1; in erspan_build_header_v2()
[all …]
H A Dnsh.h215 struct nsh_md2_tlv md2; member
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c208 md.u.md2.dir = direction; in erspan_set_tunnel()
209 md.u.md2.hwid = hwid & 0xf; in erspan_set_tunnel()
210 md.u.md2.hwid_upper = (hwid >> 4) & 0x3; in erspan_set_tunnel()
249 md.u.md2.dir, in erspan_get_tunnel()
250 (md.u.md2.hwid_upper << 4) + md.u.md2.hwid, in erspan_get_tunnel()
251 bpf_ntohl(md.u.md2.timestamp)); in erspan_get_tunnel()
287 md.u.md2.dir = direction; in ip4ip6erspan_set_tunnel()
288 md.u.md2.hwid = hwid & 0xf; in ip4ip6erspan_set_tunnel()
289 md.u.md2.hwid_upper = (hwid >> 4) & 0x3; in ip4ip6erspan_set_tunnel()
329 md.u.md2.dir, in ip4ip6erspan_get_tunnel()
[all …]
/openbmc/linux/drivers/net/wan/
H A Dhd64572.c361 u8 md2 = sca_in(msci + MD2, card); in sca_set_port() local
402 md2 |= MD2_LOOPBACK; in sca_set_port()
404 md2 &= ~MD2_LOOPBACK; in sca_set_port()
406 sca_out(md2, msci + MD2, card); in sca_set_port()
414 u8 md0, md2; in sca_open() local
418 md2 = MD2_NRZ; in sca_open()
421 md2 = MD2_NRZI; in sca_open()
424 md2 = MD2_FM_MARK; in sca_open()
427 md2 = MD2_FM_SPACE; in sca_open()
430 md2 = MD2_MANCHESTER; in sca_open()
[all …]
H A Dhd64570.c405 u8 md2 = sca_in(msci + MD2, card); in sca_set_port() local
445 md2 |= MD2_LOOPBACK; in sca_set_port()
447 md2 &= ~MD2_LOOPBACK; in sca_set_port()
449 sca_out(md2, msci + MD2, card); in sca_set_port()
457 u8 md0, md2; in sca_open() local
461 md2 = MD2_NRZ; in sca_open()
464 md2 = MD2_NRZI; in sca_open()
467 md2 = MD2_FM_MARK; in sca_open()
470 md2 = MD2_FM_SPACE; in sca_open()
473 md2 = MD2_MANCHESTER; in sca_open()
[all …]
/openbmc/phosphor-net-ipmid/command/
H A Dchannel_auth.hpp35 uint8_t md2:1; member
55 uint8_t md2:1; member
H A Dchannel_auth.cpp65 response->md2 = 0; in GetChannelCapabilities()
/openbmc/linux/tools/include/uapi/linux/
H A Derspan.h48 struct erspan_md2 md2; /* Version 2 (type III) */ member
/openbmc/linux/include/uapi/linux/
H A Derspan.h48 struct erspan_md2 md2; /* Version 2 (type III) */ member
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/
H A Dno-md2.patch35 #include <openssl/md2.h>
H A Dopenhpi-libxml2-cross-compile.patch20 @@ -179,7 +179,7 @@ AC_CHECK_HEADERS([openssl/md2.h openssl/md5.h openssl/bio.h openssl/ssl.h openss
/openbmc/linux/net/netfilter/
H A Dnft_tunnel.c319 set_hwid(&opts->u.erspan.u.md2, hwid); in nft_tunnel_obj_erspan_init()
320 opts->u.erspan.u.md2.dir = dir; in nft_tunnel_obj_erspan_init()
609 get_hwid(&opts->u.erspan.u.md2)) || in nft_tunnel_opts_dump()
611 opts->u.erspan.u.md2.dir)) in nft_tunnel_opts_dump()
/openbmc/linux/net/sched/
H A Dact_tunnel_key.c210 md->u.md2.dir = nla_get_u8(nla); in tunnel_key_copy_erspan_opt()
212 set_hwid(&md->u.md2, nla_get_u8(nla)); in tunnel_key_copy_erspan_opt()
641 md->u.md2.dir) || in tunnel_key_erspan_opts_dump()
643 get_hwid(&md->u.md2)))) in tunnel_key_erspan_opts_dump()
H A Dcls_flower.c1362 md->u.md2.dir = 1; in fl_set_erspan_opt()
1365 md->u.md2.dir = nla_get_u8(nla); in fl_set_erspan_opt()
1367 set_hwid(&md->u.md2, 0xff); in fl_set_erspan_opt()
1370 set_hwid(&md->u.md2, nla_get_u8(nla)); in fl_set_erspan_opt()
3080 md->u.md2.dir) || in fl_dump_key_erspan_opt()
3082 get_hwid(&md->u.md2)))) in fl_dump_key_erspan_opt()
/openbmc/phosphor-host-ipmid/user_channel/
H A Dchannel_layer.hpp108 md2 = (1 << 0x1), enumerator
H A Dchannel_mgmt.cpp399 if ((authType < EAuthType::md2) || (authType > EAuthType::oem)) in isValidAuthType()
/openbmc/linux/net/ipv4/
H A Dip_gre.c271 struct erspan_md2 *md2; in erspan_rcv() local
336 md2 = &md->u.md2; in erspan_rcv()
337 memcpy(md2, pkt_md, ver == 1 ? ERSPAN_V1_MDSIZE : in erspan_rcv()
584 md->u.md2.dir, in erspan_fb_xmit()
585 get_hwid(&md->u.md2), in erspan_fb_xmit()
H A Dip_tunnel_core.c572 md->u.md2.dir = nla_get_u8(attr); in ip_tun_parse_opts_erspan()
574 set_hwid(&md->u.md2, nla_get_u8(attr)); in ip_tun_parse_opts_erspan()
797 (nla_put_u8(skb, LWTUNNEL_IP_OPT_ERSPAN_DIR, md->u.md2.dir) || in ip_tun_fill_encap_opts_erspan()
799 get_hwid(&md->u.md2)))) in ip_tun_fill_encap_opts_erspan()
/openbmc/linux/net/ipv6/
H A Dip6_gre.c527 struct erspan_md2 *md2; in ip6erspan_rcv() local
580 md2 = &md->u.md2; in ip6erspan_rcv()
581 memcpy(md2, pkt_md, ver == 1 ? ERSPAN_V1_MDSIZE : in ip6erspan_rcv()
1026 md->u.md2.dir, in ip6erspan_tunnel_xmit()
1027 get_hwid(&md->u.md2), in ip6erspan_tunnel_xmit()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/openhpi/
H A Dopenhpi_3.8.0.bb48 file://no-md2.patch \
/openbmc/linux/Documentation/admin-guide/
H A Dmd.rst36 2 md2
/openbmc/openbmc/poky/meta/lib/oe/
H A Dspdx30.py2757 md2 = "https://spdx.org/rdf/3.0.1/terms/Core/HashAlgorithm/md2" variable in HashAlgorithm
/openbmc/linux/net/openvswitch/
H A Dflow_netlink.c1334 memcpy(&nh->md2, nla_data(a), mdlen); in nsh_hdr_from_nlattr()
/openbmc/openbmc/poky/meta/lib/oeqa/files/
H A Dbuildhistory_filelist2.txt4239 -rw-r--r-- root root 1054 ./usr/include/openssl/md2.h
H A Dbuildhistory_filelist1.txt4238 -rw-r--r-- root root 1054 ./usr/include/openssl/md2.h