28 #include <linux/module.h> 29 #include <linux/jiffies.h> 30 #include <linux/slab.h> 42 INIT_LIST_HEAD(&req->
list);
43 req->
state = EC_INT_REQUEST_INIT;
46 req->mac_address_included = 0;
47 req->ip_address_included = 0;
48 req->subnet_mask_included = 0;
49 req->gateway_included = 0;
50 req->dns_included = 0;
51 req->name_included = 0;
53 memset(req->mac_address, 0x00, ETH_ALEN);
54 req->ip_address.s_addr = 0;
55 req->subnet_mask.s_addr = 0;
56 req->gateway.s_addr = 0;
72 req->mac_address_included ||
73 req->ip_address_included ||
74 req->subnet_mask_included ||
75 req->gateway_included ||
unsigned long jiffies_sent
Jiffies, when the request was sent.
void ec_eoe_request_init(ec_eoe_request_t *req)
EoE request constructor.
int ec_eoe_request_valid(const ec_eoe_request_t *req)
Checks if EoE request has something to set.
EtherCAT EoE request structure.
Ethernet-over-EtherCAT set IP parameter request.
ec_internal_request_state_t state
Request state.
struct list_head list
List item.