Home
last modified time | relevance | path

Searched refs:vrf (Results 1 – 11 of 11) sorted by relevance

/freebsd/tests/sys/netinet/
H A Dudp_bindings.c142 struct in_addr vrf; in ATF_TC_BODY() local
152 memcpy(&vrf, CMSG_DATA(cmsg), sizeof(vrf)); in ATF_TC_BODY()
156 ATF_REQUIRE_MSG(vrf.s_addr == src.sin_addr.s_addr, in ATF_TC_BODY()
158 inet_ntoa(src.sin_addr), inet_ntoa(vrf)); in ATF_TC_BODY()
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dmt6380-regulator.txt11 buck-core1, buck-vcore, buck-vrf
36 mt6380_vrf_reg: buck-vrf {
37 regulator-name = "vrf";
/freebsd/sys/netinet/
H A Dsctp_pcb.c144 struct sctp_vrf *vrf = NULL; in sctp_allocate_vrf() local
148 vrf = sctp_find_vrf(vrf_id); in sctp_allocate_vrf()
149 if (vrf) { in sctp_allocate_vrf()
151 return (vrf); in sctp_allocate_vrf()
153 SCTP_MALLOC(vrf, struct sctp_vrf *, sizeof(struct sctp_vrf), in sctp_allocate_vrf()
155 if (vrf == NULL) { in sctp_allocate_vrf()
163 memset(vrf, 0, sizeof(struct sctp_vrf)); in sctp_allocate_vrf()
164 vrf->vrf_id = vrf_id; in sctp_allocate_vrf()
165 LIST_INIT(&vrf->ifnlist); in sctp_allocate_vrf()
166 vrf->total_ifa_count = 0; in sctp_allocate_vrf()
[all …]
H A Dsctp_sysctl.c138 struct sctp_vrf *vrf; in sctp_sysctl_number_of_addresses() local
145 if ((vrf = sctp_find_vrf(inp->def_vrf_id)) == NULL) { in sctp_sysctl_number_of_addresses()
149 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in sctp_sysctl_number_of_addresses()
198 struct sctp_vrf *vrf; in sctp_sysctl_copy_out_local_addresses() local
248 if ((vrf = sctp_find_vrf(inp->def_vrf_id)) == NULL) { in sctp_sysctl_copy_out_local_addresses()
254 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in sctp_sysctl_copy_out_local_addresses()
H A Dsctp_asconf.c2422 struct sctp_vrf *vrf = NULL; in sctp_find_valid_localaddr() local
2428 vrf = sctp_find_vrf(stcb->asoc.vrf_id); in sctp_find_valid_localaddr()
2429 if (vrf == NULL) { in sctp_find_valid_localaddr()
2434 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in sctp_find_valid_localaddr()
3056 struct sctp_vrf *vrf = NULL; in sctp_check_address_list_all() local
3073 vrf = sctp_find_vrf(vrf_id); in sctp_check_address_list_all()
3074 if (vrf == NULL) { in sctp_check_address_list_all()
3079 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in sctp_check_address_list_all()
3369 struct sctp_vrf *vrf = NULL; in sctp_asconf_send_nat_state_update() local
3374 vrf = sctp_find_vrf(vrf_id); in sctp_asconf_send_nat_state_update()
[all …]
H A Dsctp_pcb.h73 struct sctp_vrf *vrf; member
488 void sctp_free_vrf(struct sctp_vrf *vrf);
H A Dsctp_os_bsd.h199 #define SCTP_INIT_VRF_TABLEID(vrf) argument
H A Dsctputil.c5367 struct sctp_vrf *vrf; in sctp_find_ifa_by_addr() local
5377 vrf = sctp_find_vrf(vrf_id); in sctp_find_ifa_by_addr()
5378 if (vrf == NULL) { in sctp_find_ifa_by_addr()
5386 hash_head = &vrf->vrf_addr_hash[(hash_of_addr & vrf->vrf_addr_hashmark)]; in sctp_find_ifa_by_addr()
5389 hash_of_addr, (uint32_t)vrf->vrf_addr_hashmark, in sctp_find_ifa_by_addr()
5390 (uint32_t)(hash_of_addr & vrf->vrf_addr_hashmark)); in sctp_find_ifa_by_addr()
6972 struct sctp_vrf *vrf; in sctp_local_addr_count() local
6989 vrf = sctp_find_vrf(stcb->asoc.vrf_id); in sctp_local_addr_count()
6990 if (vrf == NULL) { in sctp_local_addr_count()
7000 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in sctp_local_addr_count()
H A Dsctp_output.c2029 struct sctp_vrf *vrf = NULL; in sctp_add_addresses_to_i_ia() local
2035 vrf = sctp_find_vrf(vrf_id); in sctp_add_addresses_to_i_ia()
2036 if (vrf == NULL) { in sctp_add_addresses_to_i_ia()
2045 if (vrf->total_ifa_count > SCTP_COUNT_LIMIT) { in sctp_add_addresses_to_i_ia()
2050 LIST_FOREACH(sctp_ifnp, &vrf->ifnlist, next_ifn) { in sctp_add_addresses_to_i_ia()
2092 LIST_FOREACH(sctp_ifnp, &vrf->ifnlist, next_ifn) { in sctp_add_addresses_to_i_ia()
2460 struct sctp_vrf *vrf; in sctp_choose_boundspecific_inp() local
2463 vrf = sctp_find_vrf(vrf_id); in sctp_choose_boundspecific_inp()
2464 if (vrf == NULL) in sctp_choose_boundspecific_inp()
2593 struct sctp_vrf *vrf; in sctp_choose_boundspecific_stcb() local
[all …]
H A Dsctp_usrreq.c1008 struct sctp_vrf *vrf; in sctp_fill_up_addresses_vrf() local
1057 vrf = sctp_find_vrf(vrf_id); in sctp_fill_up_addresses_vrf()
1058 if (vrf == NULL) { in sctp_fill_up_addresses_vrf()
1062 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in sctp_fill_up_addresses_vrf()
1246 struct sctp_vrf *vrf; in sctp_max_size_addresses_vrf() local
1257 vrf = sctp_find_vrf(vrf_id); in sctp_max_size_addresses_vrf()
1258 if (vrf == NULL) { in sctp_max_size_addresses_vrf()
1266 LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) { in sctp_max_size_addresses_vrf()
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/
H A Dmt6380.dtsi32 mt6380_vrf_reg: buck-vrf {
33 regulator-name = "vrf";