Searched refs:vs_id (Results 1 – 2 of 2) sorted by relevance
45 void atm_tcpip_port_mapping(char *vs_id,uint8_t protocol,uint16_t port) in atm_tcpip_port_mapping() argument47 memcpy(vs_id,ATM_FORUM_OUI "\x01",4); in atm_tcpip_port_mapping()48 vs_id[4] = protocol; /* e.g. IP_TCP or IP_UDP; from netinet/protocols.h */ in atm_tcpip_port_mapping()49 vs_id[5] = (htons(port) >> 8) & 255; in atm_tcpip_port_mapping()50 vs_id[6] = htons(port) & 255; in atm_tcpip_port_mapping()
43 void atm_tcpip_port_mapping(char *vs_id,uint8_t protocol,uint16_t port);