Searched refs:bparam (Results 1 - 6 of 6) sorted by relevance
/openbsd-current/sys/net/ |
H A D | if_etherbridge.c | 675 etherbridge_set_max(struct etherbridge *eb, struct ifbrparam *bparam) argument 677 if (bparam->ifbrp_csize < 1 || 678 bparam->ifbrp_csize > 4096) /* XXX */ 682 eb->eb_max = bparam->ifbrp_csize; 688 etherbridge_get_max(struct etherbridge *eb, struct ifbrparam *bparam) argument 690 bparam->ifbrp_csize = eb->eb_max; 696 etherbridge_set_tmo(struct etherbridge *eb, struct ifbrparam *bparam) argument 698 if (bparam->ifbrp_ctime < 8 || 699 bparam->ifbrp_ctime > 3600) 703 eb->eb_max_age = bparam 709 etherbridge_get_tmo(struct etherbridge *eb, struct ifbrparam *bparam) argument [all...] |
H A D | bridgectl.c | 69 struct ifbrparam *bparam = (struct ifbrparam *)data; local 102 bparam->ifbrp_csize = sc->sc_brtmax; 106 sc->sc_brtmax = bparam->ifbrp_csize; 110 if (bparam->ifbrp_ctime < 0 || 111 bparam->ifbrp_ctime > INT_MAX / hz) { 115 sc->sc_brttimeout = bparam->ifbrp_ctime; 116 if (bparam->ifbrp_ctime != 0) 122 bparam->ifbrp_ctime = sc->sc_brttimeout;
|
H A D | if_bpe.c | 307 struct ifbrparam *bparam = (struct ifbrparam *)data; local 371 error = etherbridge_set_max(&sc->sc_eb, bparam); 374 error = etherbridge_get_max(&sc->sc_eb, bparam); 382 error = etherbridge_set_tmo(&sc->sc_eb, bparam); 385 error = etherbridge_get_tmo(&sc->sc_eb, bparam);
|
H A D | if_vxlan.c | 731 struct ifbrparam *bparam = (struct ifbrparam *)data; local 830 error = etherbridge_set_max(&sc->sc_eb, bparam); 833 error = etherbridge_get_max(&sc->sc_eb, bparam); 836 error = etherbridge_set_tmo(&sc->sc_eb, bparam); 839 error = etherbridge_get_tmo(&sc->sc_eb, bparam);
|
H A D | if_veb.c | 1224 struct ifbrparam *bparam = (struct ifbrparam *)data; local 1275 error = etherbridge_set_max(&sc->sc_eb, bparam); 1278 error = etherbridge_get_max(&sc->sc_eb, bparam); 1286 error = etherbridge_set_tmo(&sc->sc_eb, bparam); 1289 error = etherbridge_get_tmo(&sc->sc_eb, bparam);
|
H A D | if_gre.c | 2533 struct ifbrparam *bparam = (struct ifbrparam *)data; local 2682 error = etherbridge_set_max(&sc->sc_eb, bparam); 2685 error = etherbridge_get_max(&sc->sc_eb, bparam); 2689 error = etherbridge_set_tmo(&sc->sc_eb, bparam); 2692 error = etherbridge_get_tmo(&sc->sc_eb, bparam);
|
Completed in 187 milliseconds