Lines Matching refs:cfg_leaf
53 struct ConfigLeaf *cfg_leaf = config_map.lookup(&cfg_key); in handle_packet() local
54 if (cfg_leaf) { in handle_packet()
55 slave_ip = cfg_leaf->slave_ip; in handle_packet()
136 struct ConfigLeaf *cfg_leaf = config_map.lookup(&cfg_key); in handle_packet() local
137 if (cfg_leaf) { in handle_packet()
138 struct MacaddrKey mac_key = {.ip = cfg_leaf->bpfdev_ip}; in handle_packet()
141 mac_key.ip = cfg_leaf->bpfdev_ip; in handle_packet()
149 mac_key.ip = cfg_leaf->slave_ip; in handle_packet()
162 incr_cksum_l4(&udp->crc, ip->src, cfg_leaf->bpfdev_ip, 1); in handle_packet()
163 incr_cksum_l4(&udp->crc, ip->dst, cfg_leaf->slave_ip, 1); in handle_packet()
166 ip->src = cfg_leaf->bpfdev_ip; in handle_packet()
167 ip->dst = cfg_leaf->slave_ip; in handle_packet()