Searched refs:family (Results 1 - 25 of 35) sorted by relevance

12

/tldk/examples/l4fwd/
H A Dfwdtbl.h35 fwd_tbl_key_prep(const struct netfe_lcore *fe, uint16_t family, argument
42 if (family == AF_INET) {
58 fwd_tbl_add(struct netfe_lcore *fe, uint16_t family, const struct sockaddr *sa, argument
65 h = fwd_tbl_key_prep(fe, family, sa, &key);
71 fwd_tbl_lkp(struct netfe_lcore *fe, uint16_t family, const struct sockaddr *sa) argument
78 h = fwd_tbl_key_prep(fe, family, sa, &key);
86 fwd_tbl_init(struct netfe_lcore *fe, uint16_t family, uint32_t lcore) argument
93 if (family == AF_INET) {
H A Dudp.h92 fes->family = sprm->local_addr.ss_family;
202 fed = fwd_tbl_lkp(fe, fes->family, sa);
220 rc = fwd_tbl_add(fe, fes->family, sa, fed);
232 uint16_t family)
237 if (family == AF_INET) {
253 uint16_t family)
265 if (family == AF_INET) {
282 pkt_eq_addr(struct rte_mbuf *pkt[], uint32_t num, uint16_t family, argument
288 netfe_pkt_addr(pkt[i], nxt, family);
289 if (netfe_addr_eq(cur, nxt, family)
231 netfe_addr_eq(struct sockaddr_storage *l, struct sockaddr_storage *r, uint16_t family) argument
252 netfe_pkt_addr(const struct rte_mbuf *m, struct sockaddr_storage *ps, uint16_t family) argument
300 uint16_t family; local
385 uint16_t family; local
[all...]
H A Dparse.h26 uint16_t family; member in struct:parse_val::__anon501
H A Dparse.c144 rv->in.family = AF_INET;
156 rv->in.family = AF_INET6;
373 } else if ((dst->family == AF_INET &&
375 (dst->family == AF_INET6 &&
424 dst->family = val[1].in.family;
425 if (val[1].in.family == AF_INET)
515 ss->ss_family = pva->in.family;
516 if (pva->in.family == AF_INET) {
H A Dnetbe.h88 uint16_t family; member in struct:netbe_dest
201 uint16_t family; member in struct:netfe_stream
H A Dcommon.h55 RTE_LOG(ERR, USER1, "stream@%p - unknown family=%hu\n",
64 "family=%hu,proto=%s,laddr=%s,lport=%hu,raddr=%s,rport=%hu;"
392 netbe_add_dest(struct netbe_lcore *lc, uint32_t dev_idx, uint16_t family, argument
401 if (family == AF_INET) {
414 RTE_LOG(ERR, USER1, "%s(lcore=%u, family=%hu, dnum=%u) exceeds "
416 __func__, lc->id, family, dnum, m);
427 if (family == AF_INET)
433 if (family == AF_INET)
H A Dport.h20 prepare_hash_key(struct netbe_port *uprt, uint8_t key_size, uint16_t family) argument
27 if (family == AF_INET)
H A Dmain.c135 f = prm.dest[i].family;
146 "%s(lc=%u, family=%u) "
/tldk/app/nginx/src/core/
H A Dngx_inet.h63 ngx_uint_t family; member in struct:__anon32
88 int family; member in struct:__anon35
114 size_t ngx_inet_ntop(int family, void *addr, u_char *text, size_t len);
H A Dngx_inet.c260 ngx_inet_ntop(int family, void *addr, u_char *text, size_t len) argument
264 switch (family) {
388 cidr->family = AF_INET;
397 cidr->family = AF_INET6;
416 switch (cidr->family) {
476 ngx_uint_t family, i; local
489 family = sa->sa_family;
491 if (family == AF_INET) {
496 else if (family == AF_INET6) {
500 family
559 ngx_uint_t family; local
[all...]
/tldk/test/gtest/
H A Dtest_tle_udp_stream_gen.h153 int family; member in struct:stream_g
165 int family; member in struct:stream_s
209 tle_stream *setup_stream(struct tle_ctx *ctx, int family,
247 stream = setup_stream(ctx, s.family,
263 if (s.family == AF_INET) {
270 } else if (s.family == AF_INET6) {
433 test_tle_udp_gen_base::setup_stream(struct tle_ctx *ctx, int family, argument
444 if (family == AF_INET) {
454 } else if (family == AF_INET6) {
465 printf("Invalid address family, strea
[all...]
H A Dtest_tle_udp_stream_gen.cpp316 if (sg.family == AF_INET) {
321 } else if (sg.family == AF_INET6) {
/tldk/app/nginx/src/tldk/
H A Dparse.c35 uint16_t family; member in struct:parse_val::__anon6
75 rv->in.family = AF_INET;
87 rv->in.family = AF_INET6;
318 dst->family = pvl[3].in.family;
319 if (pvl[3].in.family == AF_INET)
H A Dngx_tldk.h74 uint16_t family; member in struct:tldk_dest_conf
H A Dbe.c460 uint32_t dev_idx, const struct tldk_port_conf *pcf, uint32_t family,
468 if (family == AF_INET) {
481 RTE_LOG(ERR, USER1, "%s(lcore=%u, family=%hu, dnum=%u) exceeds "
483 __func__, tcx->cf->lcore, family, dnum, m);
490 if (family == AF_INET)
496 if (family == AF_INET)
515 f = dcf->family;
527 "%s(tcx=%u, family=%u) "
459 be_add_dest(const struct tldk_dest_conf *dcf, struct tldk_ctx *tcx, uint32_t dev_idx, const struct tldk_port_conf *pcf, uint32_t family, uint32_t dnum) argument
/tldk/app/nginx/src/http/modules/
H A Dngx_http_access_module.c323 cidr.family = AF_UNIX;
346 if (cidr.family == AF_INET || all) {
367 if (cidr.family == AF_INET6 || all) {
389 if (cidr.family == AF_UNIX || all) {
H A Dngx_http_geo_module.c1054 cidr.family = AF_INET;
1065 cidr.family = AF_INET6;
1091 if (cidr.family == AF_INET) {
1097 switch (cidr.family) {
1138 switch (cidr->family) {
1306 cidr->family = AF_INET;
/tldk/app/nginx/src/stream/
H A Dngx_stream_access_module.c313 cidr.family = AF_UNIX;
336 if (cidr.family == AF_INET || all) {
357 if (cidr.family == AF_INET6 || all) {
379 if (cidr.family == AF_UNIX || all) {
H A Dngx_stream_geo_module.c1004 cidr.family = AF_INET;
1015 cidr.family = AF_INET6;
1041 if (cidr.family == AF_INET) {
1047 switch (cidr.family) {
1088 switch (cidr->family) {
1232 cidr->family = AF_INET;
H A Dngx_stream.h100 int family; member in struct:__anon408
H A Dngx_stream_realip_module.c203 cidr->family = AF_UNIX;
H A Dngx_stream.c398 && sa->sa_family == port[i].family)
414 port->family = sa->sa_family;
/tldk/app/nginx/src/mail/
H A Dngx_mail.c239 if (p == port[i].port && sa->sa_family == port[i].family) {
255 port->family = sa->sa_family;
H A Dngx_mail.h82 int family; member in struct:__anon351
/tldk/app/nginx/src/event/
H A Dngx_event_accept.c789 if (cidr[i].family != (ngx_uint_t) c->sockaddr->sa_family) {
793 switch (cidr[i].family) {

Completed in 23 milliseconds

12