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