Home
last modified time | relevance | path

Searched refs:next_hop (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm6.c37 #define lpm6_tbl8_gindex next_hop
56 uint32_t next_hop: 21; /**< Next hop / next table to be checked. */ member
68 uint32_t next_hop; /**< Rule next hop. */ member
229 uint64_t next_hop;
234 (void **) &next_hop, &iter) >= 0)
236 (uint32_t) next_hop);
453 uint32_t *next_hop)
462 *next_hop = (uint32_t) hash_val;
472 uint32_t *next_hop)
479 return rule_find_with_key(lpm, &rule_key, next_hop);
[all …]
H A Drte_lpm.c291 uint32_t next_hop)
313 if (lpm->rules_tbl[rule_index].next_hop
314 == next_hop)
316 lpm->rules_tbl[rule_index].next_hop = next_hop;
357 lpm->rules_tbl[rule_index].next_hop = next_hop;
433 .next_hop = 0, in tbl8_alloc()
467 uint32_t next_hop) in add_depth_small() argument
469 #define group_idx next_hop in add_depth_small()
485 .next_hop = next_hop, in add_depth_small()
517 .next_hop = next_hop, in add_depth_small()
[all …]
H A Drte_lpm.h77 uint32_t next_hop :24; member
98 uint32_t next_hop :24;
114 uint32_t next_hop; /**< Rule next hop. */ member
208 rte_lpm_add(struct rte_lpm *lpm, uint32_t ip, uint8_t depth, uint32_t next_hop);
227 uint32_t *next_hop);
271 rte_lpm_lookup(struct rte_lpm *lpm, uint32_t ip, uint32_t *next_hop) in rte_lpm_lookup() argument
278 RTE_LPM_RETURN_IF_TRUE(((lpm == NULL) || (next_hop == NULL)), -EINVAL); in rte_lpm_lookup()
300 *next_hop = ((uint32_t)tbl_entry & 0x00FFFFFF); in rte_lpm_lookup()
H A Drte_lpm6.h41 uint8_t depth, uint32_t next_hop);
105 uint32_t next_hop, int is_new_rule);
124 uint32_t *next_hop);
182 rte_lpm6_lookup(const struct rte_lpm6 *lpm, const uint8_t *ip, uint32_t *next_hop);
H A Ddpdk_lpm6.h55 uint32_t next_hop, int is_new_rule);
/freebsd/sys/netgraph/netflow/
H A Dnetflow_v9.h51 uint32_t next_hop; /* Next hop IPv4 address (IPV4_NEXT_HOP) */ member
76 struct in6_addr next_hop; /* Next hop IPv6 address (IPV6_NEXT_HOP) */ member
H A Dnetflow.h92 uint32_t next_hop; /* Next hop IP address */ member
114 uint32_t next_hop; /* Next hop IP address */ member
H A Dnetflow_v9.c269 rec->next_hop = fed->next_hop.s_addr; in export9_add()
300 rec->next_hop = fed6->n.next_hop6; in export9_add()
H A Dng_netflow.h253 struct in_addr next_hop; member
269 struct in_addr next_hop; member
H A Dnetflow.c365 fle->f.next_hop = nh->gw4_sa.sin_addr; in hash_insert()
1063 rec->next_hop = fle->f.next_hop.s_addr; in export_add()
/freebsd/sys/netinet/
H A Dudp_usrreq.c602 struct sockaddr_in *next_hop; in udp_input() local
604 next_hop = (struct sockaddr_in *)(fwd_tag + 1); in udp_input()
619 uh->uh_sport, next_hop->sin_addr, in udp_input()
620 next_hop->sin_port ? htons(next_hop->sin_port) : in udp_input()
H A Dtcp_input.c880 struct sockaddr_in *next_hop; in tcp_input_with_port() local
882 next_hop = (struct sockaddr_in *)(fwd_tag+1); in tcp_input_with_port()
897 th->th_sport, next_hop->sin_addr, in tcp_input_with_port()
898 next_hop->sin_port ? ntohs(next_hop->sin_port) : in tcp_input_with_port()
/freebsd/usr.sbin/flowctl/
H A Dflowctl.c350 inet_ntop(AF_INET, &fle->next_hop, next, sizeof(next)); in flow_cache_print_verbose()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_pfil.c177 &args.hopstore : args.next_hop; in ipfw_check_packet()
H A Dip_fw_private.h116 struct sockaddr_in *next_hop; member
H A Dip_fw2.c3272 args->next_hop = sa; in ipfw_chk()