Home
last modified time | relevance | path

Searched refs:trans_pref (Results 1 – 5 of 5) sorted by relevance

/openbsd/usr.sbin/ldpd/
H A Dhello.c135 err |= gen_ds_hello_prms_tlv(buf, leconf->trans_pref); in send_hello()
161 uint16_t trans_pref; in recv_hello() local
193 &conf_seqnum, &trans_pref); in recv_hello()
281 if (ds_tlv && trans_pref != leconf->trans_pref) { in recv_hello()
365 ((trans_pref == DUAL_STACK_LDPOV4 && af == AF_INET) || in recv_hello()
366 (trans_pref == DUAL_STACK_LDPOV6 && af == AF_INET6)))) in recv_hello()
492 *trans_pref = 0; in tlv_decode_opt_hello_prms()
554 memcpy(trans_pref, buf + sizeof(uint16_t), in tlv_decode_opt_hello_prms()
556 *trans_pref = ntohs(*trans_pref); in tlv_decode_opt_hello_prms()
558 memcpy(trans_pref, buf , sizeof(uint16_t)); in tlv_decode_opt_hello_prms()
[all …]
H A Dprintconf.c51 if (conf->trans_pref == DUAL_STACK_LDPOV4) in print_mainconf()
53 else if (conf->trans_pref == DUAL_STACK_LDPOV6) in print_mainconf()
H A Dldpd.c804 if (conf->trans_pref != xconf->trans_pref) { in merge_global()
807 conf->trans_pref = xconf->trans_pref; in merge_global()
1317 xconf->trans_pref = conf->trans_pref; in config_clear()
H A Dparse.y274 conf->trans_pref = $2;
276 switch (conf->trans_pref) {
278 conf->trans_pref = DUAL_STACK_LDPOV4;
281 conf->trans_pref = DUAL_STACK_LDPOV6;
1313 conf->trans_pref = DUAL_STACK_LDPOV6; in parse_config()
H A Dldpd.h413 uint16_t trans_pref; member