Lines Matching refs:base
13 buf->base = malloc(suggested_size); in alloc_buffer()
21 free(buf->base); in on_read()
30 unsigned int *as_integer = (unsigned int*)buf->base; in on_read()
38 free(buf->base); in on_read()
45 memset(buffer.base, 0, buffer.len); in make_discover_msg()
48 buffer.base[0] = 0x1; in make_discover_msg()
50 buffer.base[1] = 0x1; in make_discover_msg()
52 buffer.base[2] = 0x6; in make_discover_msg()
54 buffer.base[3] = 0x0; in make_discover_msg()
56 if (uv_random(NULL, NULL, &buffer.base[4], 4, 0, NULL)) in make_discover_msg()
59 buffer.base[8] = 0x0; in make_discover_msg()
61 buffer.base[10] = 0x80; in make_discover_msg()
67 buffer.base[28] = 0xe4; in make_discover_msg()
68 buffer.base[29] = 0xce; in make_discover_msg()
69 buffer.base[30] = 0x8f; in make_discover_msg()
70 buffer.base[31] = 0x13; in make_discover_msg()
71 buffer.base[32] = 0xf6; in make_discover_msg()
72 buffer.base[33] = 0xd4; in make_discover_msg()
77 buffer.base[236] = 99; in make_discover_msg()
78 buffer.base[237] = 130; in make_discover_msg()
79 buffer.base[238] = 83; in make_discover_msg()
80 buffer.base[239] = 99; in make_discover_msg()
83 buffer.base[240] = 53; in make_discover_msg()
84 buffer.base[241] = 1; in make_discover_msg()
85 buffer.base[242] = 1; // DHCPDISCOVER in make_discover_msg()
88 buffer.base[243] = 55; in make_discover_msg()
89 buffer.base[244] = 4; in make_discover_msg()
90 buffer.base[245] = 1; in make_discover_msg()
91 buffer.base[246] = 3; in make_discover_msg()
92 buffer.base[247] = 15; in make_discover_msg()
93 buffer.base[248] = 6; in make_discover_msg()