Searched refs:TY_PRIMARY_DNS (Results 1 – 2 of 2) sorted by relevance
39 #define TY_PRIMARY_DNS 129 macro
790 if (!REJECTED(ipcp, TY_PRIMARY_DNS - TY_ADJUST_NS)) { in IpcpSendConfigReq()792 INC_FSM_OPT(TY_PRIMARY_DNS, 6, o); in IpcpSendConfigReq()1208 case TY_PRIMARY_DNS: /* DNS negotiation (rfc1877) */ in IpcpDecodeConfig()1220 have_ip = ipcp->ns.dns[opt->hdr.id == TY_PRIMARY_DNS ? 0 : 1]; in IpcpDecodeConfig()1222 if (opt->hdr.id == TY_PRIMARY_DNS && ipaddr.s_addr != have_ip.s_addr && in IpcpDecodeConfig()1251 memcpy(&ipcp->ns.dns[opt->hdr.id == TY_PRIMARY_DNS ? 0 : 1].s_addr, in IpcpDecodeConfig()1311 ipcp->peer_reject |= (1 << (TY_PRIMARY_DNS - TY_ADJUST_NS)); in IpcpDecodeConfig()