• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/ppp-727.90.1/Helpers/pppd/

Lines Matching +defs:list +defs:flags

54 static acsp_ext *ext_list;		// list of acsp_ext structs - one for each option type	
55 //static struct acsp_plugin *plugin_list; // list of plugin channels - not currently used
135 // add the ext struct to the list
252 if (ntohs(pkt->flags) & ACSP_FLAG_ACK && ext->timer_state == ACSP_TIMERSTATE_PACKET && pkt->seq == ext->last_seq) {
425 u_int16_t flags;
433 u_int16_t flags;
471 void *list;
585 // get servers list from the plist
616 u_int32_t flags;
652 flags = ACSP_ROUTEFLAGS_PRIVATE;
654 flags = ACSP_ROUTEFLAGS_PUBLIC;
676 route->flags = flags;
840 ((acsp_plugin_context*)(ext->context))->list = routes_list; // save the list read from prefs into the context
845 ((acsp_plugin_context*)(ext->context))->list = domains_list; // save the list read from prefs into the context
885 context->list = 0;
974 // if client side - clear the list of received data
983 if ((ntohs(pkt->flags) & ACSP_FLAG_START) == 0) {
995 if (ntohs(pkt->flags) & ACSP_FLAG_END) {
1006 if (ntohs(pkt->flags) & ACSP_FLAG_REQUIRE_ACK)
1011 if (ntohs(pkt->flags) & ACSP_FLAG_ACK) { // if ack - process it - otherwise drop the packet
1077 pkt->flags = htons(ACSP_FLAG_START);
1078 context->next_to_send = context->list;
1080 pkt->flags = 0;
1084 pkt->flags = htons(ntohs(pkt->flags) | ACSP_FLAG_REQUIRE_ACK);
1094 route_data->flags = htons(((acsp_route*)context->next_to_send)->flags);
1117 pkt->flags = htons(ntohs(pkt->flags) | ACSP_FLAG_END);
1149 outPkt->flags = htons(ACSP_FLAG_ACK);
1190 route->flags = ntohs(route_data->flags);
1192 route->next = (acsp_route*)context->list;
1193 context->list = route;
1217 domain->next = (acsp_domain*)context->list;
1218 context->list = domain;
1233 // clear the route or domain list in the context
1237 void* temp = context->list;
1241 context->list = ((acsp_route*)temp)->next;
1244 context->list = ((acsp_domain*)temp)->next;
1247 temp = context->list;
1290 acsp_plugin_add_routes(context->list);
1292 acsp_plugin_add_domains(context->list);
1309 acsp_plugin_remove_routes(context->list);
1345 if (route->flags & ACSP_ROUTEFLAGS_PRIVATE) {
1360 } else if (route->flags & ACSP_ROUTEFLAGS_PUBLIC) {
1391 if (route->flags & ACSP_ROUTEFLAGS_PRIVATE) {
1402 } else if (route->flags & ACSP_ROUTEFLAGS_PUBLIC) {
1484 u_int16_t dp_flags; /* flags */
1577 dbglog(" flags = %d\n", dp->dp_flags);
1689 dbglog(" dhcp option parameter request list = %s \n", str);
1740 PUTSHORT(0, outp); // flags and fragment offset
1887 acsp_domain *list = domains_list;
1888 // domain are reversed in the list use last one.
1889 while (list->next) list = list->next;
1892 len = strlen(list->name);
1898 memcpy(outp, list->name, len); // the domain
1904 acsp_route *list = routes_list;
1908 while (list) {
1909 if (list->flags & ACSP_ROUTEFLAGS_PRIVATE) {
1919 mask = ntohl(list->mask.s_addr);
1920 addr = ntohl(list->address.s_addr) & mask;
1928 warning("Static routes list too large DHCP\n");
1938 list = list->next;
2089 route->flags = ACSP_ROUTEFLAGS_PRIVATE;
2188 PUTCHAR(DHCP_OPTION_PARAM_REQUEST_LIST, outp); // dhcp param request list
2189 PUTCHAR(6, outp); // dhcp param request list len
2359 printer(arg, " <flags %d>", dp->dp_flags);
2507 u_int16_t flags;
2527 flags = ntohs(pkt->flags);
2533 route_flags = ntohs(route_data->flags);
2534 printer(arg, "\n <route: address %s, mask %s, flags:%s%s>",