| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp.c | 72 const struct iptnl_info *tnl, in set_ethhdr() argument 76 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr() 84 struct iptnl_info *tnl; in handle_ipv4() local 108 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4() 110 if (!tnl || tnl->family != AF_INET) in handle_ipv4() 128 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); in handle_ipv4() 137 iph->daddr = tnl->daddr.v4; in handle_ipv4() 138 iph->saddr = tnl->saddr.v4; in handle_ipv4() 157 struct iptnl_info *tnl; in handle_ipv6() local 178 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv6() [all …]
|
| H A D | test_xdp_loop.c | 68 const struct iptnl_info *tnl, in set_ethhdr() argument 72 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr() 80 struct iptnl_info *tnl; in handle_ipv4() local 104 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4() 106 if (!tnl || tnl->family != AF_INET) in handle_ipv4() 124 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); in handle_ipv4() 133 iph->daddr = tnl->daddr.v4; in handle_ipv4() 134 iph->saddr = tnl->saddr.v4; in handle_ipv4() 153 struct iptnl_info *tnl; in handle_ipv6() local 174 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv6() [all …]
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | xdp_tx_iptunnel_kern.c | 69 const struct iptnl_info *tnl, in set_ethhdr() argument 73 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr() 81 struct iptnl_info *tnl; in handle_ipv4() local 105 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4() 107 if (!tnl || tnl->family != AF_INET) in handle_ipv4() 127 set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IP)); in handle_ipv4() 136 iph->daddr = tnl->daddr.v4; in handle_ipv4() 137 iph->saddr = tnl->saddr.v4; in handle_ipv4() 156 struct iptnl_info *tnl; in handle_ipv6() local 177 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv6() [all …]
|
| H A D | xdp_tx_iptunnel_user.c | 165 struct iptnl_info tnl = {}; in main() local 172 tnl.family = AF_UNSPEC; in main() 204 v6 = tnl.saddr.v6; in main() 206 v6 = tnl.daddr.v6; in main() 211 if (tnl.family == AF_UNSPEC) { in main() 212 tnl.family = family; in main() 213 } else if (tnl.family != family) { in main() 221 (struct ether_addr *)tnl.dmac)) { in main() 290 if (bpf_map_update_elem(vip2tnl_map_fd, &vip, &tnl, in main()
|
| /OK3568_Linux_fs/u-boot/fs/yaffs2/ |
| H A D | yaffs_allocator.c | 104 struct yaffs_tnode_list *tnl; in yaffs_create_tnodes() local 142 tnl = kmalloc(sizeof(struct yaffs_tnode_list), GFP_NOFS); in yaffs_create_tnodes() 143 if (!tnl) { in yaffs_create_tnodes() 148 tnl->tnodes = new_tnodes; in yaffs_create_tnodes() 149 tnl->next = allocator->alloc_tnode_list; in yaffs_create_tnodes() 150 allocator->alloc_tnode_list = tnl; in yaffs_create_tnodes()
|
| /OK3568_Linux_fs/kernel/net/tipc/ |
| H A D | link.h | 89 void tipc_link_tnl_prepare(struct tipc_link *l, struct tipc_link *tnl, 91 void tipc_link_create_dummy_tnl_msg(struct tipc_link *tnl, 93 void tipc_link_failover_prepare(struct tipc_link *l, struct tipc_link *tnl,
|
| H A D | link.c | 1937 void tipc_link_tnl_prepare(struct tipc_link *l, struct tipc_link *tnl, in tipc_link_tnl_prepare() argument 1940 struct sk_buff_head *fdefq = &tnl->failover_deferdq; in tipc_link_tnl_prepare() 1950 if (!tnl) in tipc_link_tnl_prepare() 1959 if (mtyp == SYNCH_MSG && (tnl->peer_caps & TIPC_TUNNEL_ENHANCED)) { in tipc_link_tnl_prepare() 1975 tipc_link_xmit(tnl, &tnlq, xmitq); in tipc_link_tnl_prepare() 2003 tnl: in tipc_link_tnl_prepare() 2019 if (pktlen > tnl->mtu - INT_H_SIZE) { in tipc_link_tnl_prepare() 2021 (tnl->peer_caps & TIPC_TUNNEL_ENHANCED)) { in tipc_link_tnl_prepare() 2022 rc = tipc_msg_fragment(skb, &tnlhdr, tnl->mtu, in tipc_link_tnl_prepare() 2055 goto tnl; in tipc_link_tnl_prepare() [all …]
|
| H A D | node.c | 938 struct tipc_link *tnl, in tipc_node_link_failover() argument 942 if (!tipc_link_is_up(tnl)) in tipc_node_link_failover() 949 tipc_link_fsm_evt(tnl, LINK_SYNCH_END_EVT); in tipc_node_link_failover() 952 n->sync_point = tipc_link_rcv_nxt(tnl) + (U16_MAX / 2 - 1); in tipc_node_link_failover() 953 tipc_link_failover_prepare(l, tnl, xmitq); in tipc_node_link_failover() 971 struct tipc_link *l, *_l, *tnl; in __tipc_node_link_down() local 1024 tnl = n->links[*bearer_id].link; in __tipc_node_link_down() 1025 tipc_link_fsm_evt(tnl, LINK_SYNCH_END_EVT); in __tipc_node_link_down() 1027 n->sync_point = tipc_link_rcv_nxt(tnl) + (U16_MAX / 2 - 1); in __tipc_node_link_down() 1028 tipc_link_tnl_prepare(l, tnl, FAILOVER_MSG, xmitq); in __tipc_node_link_down() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_flex_pipe.c | 468 memset(&hw->tnl, 0, sizeof(hw->tnl)); in ice_init_pkg_hints() 477 while (label_name && hw->tnl.count < ICE_TUNNEL_MAX_ENTRIES) { in ice_init_pkg_hints() 490 hw->tnl.tbl[hw->tnl.count].type = tnls[i].type; in ice_init_pkg_hints() 491 hw->tnl.tbl[hw->tnl.count].valid = false; in ice_init_pkg_hints() 492 hw->tnl.tbl[hw->tnl.count].boost_addr = val; in ice_init_pkg_hints() 493 hw->tnl.tbl[hw->tnl.count].port = 0; in ice_init_pkg_hints() 494 hw->tnl.count++; in ice_init_pkg_hints() 503 for (i = 0; i < hw->tnl.count; i++) { in ice_init_pkg_hints() 504 ice_find_boost_entry(ice_seg, hw->tnl.tbl[i].boost_addr, in ice_init_pkg_hints() 505 &hw->tnl.tbl[i].boost_entry); in ice_init_pkg_hints() [all …]
|
| H A D | ice_type.h | 680 struct ice_tunnel_table tnl; member
|
| H A D | ice_main.c | 4125 if (pf->hw.tnl.valid_count[TNL_VXLAN]) { in ice_probe() 4127 pf->hw.tnl.valid_count[TNL_VXLAN]; in ice_probe() 4132 if (pf->hw.tnl.valid_count[TNL_GENEVE]) { in ice_probe() 4134 pf->hw.tnl.valid_count[TNL_GENEVE]; in ice_probe()
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | ip6_tunnel.c | 1750 struct ip6_tnl *tnl = netdev_priv(dev); in ip6_tnl_change_mtu() local 1752 if (tnl->parms.proto == IPPROTO_IPV6) { in ip6_tnl_change_mtu() 1759 if (tnl->parms.proto == IPPROTO_IPV6 || tnl->parms.proto == 0) { in ip6_tnl_change_mtu()
|
| /OK3568_Linux_fs/device/rockchip/common/images/userdata/userdata_normal/media/ |
| H A D | yuv420_p352x288.yuv | 3020 …;:8:<;;;:9862-+**+.2466420//1100003510233322324'7p����������|uraNHLYic^fr�������������|wz���tnl[R/ 6716 …`adgimoonliedbbb`ba`bab`^\XPHA9/../1334510,/1/0/111102102143,'P�nbgWm������tnl`U_r��D1w�z]]r|��…
|