Lines Matching refs:base_ptr
180 static int validate_login(struct fc_info *fi, u_int *base_ptr);
181 static void add_to_address_cache(struct fc_info *fi, u_int *base_ptr);
3349 static int validate_login(struct fc_info *fi, u_int *base_ptr)
3357 memcpy(n_port_name, base_ptr + 10, PORT_NAME_LEN);
3358 memcpy(node_name, base_ptr + 12, NODE_NAME_LEN);
3359 s_id = ntohl(*(base_ptr + 3)) & 0x00FFFFFF;
3381 static void add_to_address_cache(struct fc_info *fi, u_int *base_ptr)
3389 memcpy(n_port_name, base_ptr + 13, PORT_NAME_LEN);
3390 s_id = ntohl(*(base_ptr + 3)) & 0x00FFFFFF;
3396 memcpy(&(q->c_of_s[0]), base_ptr + 17, 3 * sizeof(CLASS_OF_SERVICE));
3397 q->mtu = ntohl(*(base_ptr + 10)) & 0x00000FFF;
3399 memcpy(q->node_name, base_ptr + 15, NODE_NAME_LEN);
3417 memcpy(&(p->c_of_s[0]), base_ptr + 17, 3 * sizeof(CLASS_OF_SERVICE));
3418 p->mtu = ntohl(*(base_ptr + 10)) & 0x00000FFF;
3420 memcpy(p->hw_addr, base_ptr + 13, PORT_NAME_LEN);
3421 memcpy(p->node_name, base_ptr + 15, NODE_NAME_LEN);
3438 static void remove_from_address_cache(struct fc_info *fi, u_int *base_ptr, u_int cmnd_code)
3443 s_id = ntohl(*(base_ptr + 3)) & 0x00FFFFFF;
3464 int payload_len = ntohl(*(base_ptr + 8)) & 0xFF;
3467 u_short received_ox_id = ntohl(*(base_ptr + 6)) >> 16;
3468 u_int node_id, mask, *page_ptr = base_ptr + 9;