Home
last modified time | relevance | path

Searched refs:ethertype (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.81.4/tests/skywalk/
H A Dskt_filter.c80 uint16_t ethertype; member
252 eh->ether_type = htons(args->ethertype); in custom_ether_build_packet()
264 evh->evl_proto = htons(args->ethertype); in custom_ether_build_packet()
379 if (args->ethertype != etype) { in custom_ether_verify()
381 args->ethertype, etype); in custom_ether_verify()
395 if (args->ethertype != etype) { in custom_ether_verify()
397 args->ethertype, etype); in custom_ether_verify()
439 args->ethertype = CUSTOM_ETHER_ETHERTYPE_BASE + index; in custom_ether_setup_args()
457 nfr.nfr_ethertype = args->ethertype; in custom_ether_setup_flow()
/xnu-12377.81.4/bsd/skywalk/nexus/netif/
H A Dnx_netif_netagent.c190 validate_ethertype(uint16_t ethertype) in validate_ethertype() argument
195 if (forbidden_ethertypes[i] == ethertype) { in validate_ethertype()
196 SK_ERR("ethertype 0x%x not allowed", ethertype); in validate_ethertype()
200 if (ethertype <= ETHERMTU) { in validate_ethertype()
692 nfr.nfr_ethertype = cparams->ethertype; in nx_netif_netagent_handle_custom_ether_flow_add()
/xnu-12377.81.4/bsd/net/
H A Dnecp.h1605 u_int16_t ethertype; member
H A Dnecp_client.c359 u_int16_t ethertype; member
2967 parsed_parameters->ethertype, in necp_client_trace_parsed_parameters()
3312 if (length >= sizeof(parsed_parameters->ethertype)) { in necp_client_parse_parameters()
3313 memcpy(&parsed_parameters->ethertype, value, sizeof(parsed_parameters->ethertype)); in necp_client_parse_parameters()
9141 parameters->ethertype = parsed_parameters.ethertype; in necp_client_copy_parameters_locked()